mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
Improve a11y (#1841)
Improve accessibility by removing unnecessary tags without hrefs. Also remove many eslint errors and warnings.
This commit is contained in:
@@ -25,7 +25,7 @@ import { QueryClient, useQueryClient } from "react-query";
|
||||
|
||||
export const reset = (queryClient: QueryClient) => {
|
||||
queryClient.removeQueries({
|
||||
predicate: ({ queryKey }) => queryKey !== "index"
|
||||
predicate: ({ queryKey }) => queryKey !== "index",
|
||||
});
|
||||
return queryClient.invalidateQueries("index");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user