mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 09:46:19 +01:00
✨ Add cache back
This commit is contained in:
@@ -22,12 +22,6 @@ import { api } from '~/utils/api';
|
||||
|
||||
const BoardsPage = () => {
|
||||
const { data } = api.config.all.useQuery();
|
||||
const context = api.useContext();
|
||||
const { mutateAsync: deletionMutationAsync } = api.config.delete.useMutation({
|
||||
onSettled: () => {
|
||||
void context.config.all.invalidate();
|
||||
},
|
||||
});
|
||||
|
||||
const [deletingDashboards, { append, filter }] = useListState<string>([]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user