Add cache back

This commit is contained in:
ajnart
2023-08-01 19:19:27 +09:00
parent 68bd2c06c8
commit 1bb84e3b0f
5 changed files with 101 additions and 42 deletions

View File

@@ -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>([]);