Better tauri listeners and stuff

This commit is contained in:
Gregory Schier
2023-03-30 09:05:54 -07:00
parent 7fcf709efe
commit bb2ba21bbd
23 changed files with 305 additions and 794 deletions

View File

@@ -14,7 +14,7 @@ export function useDeleteRequest(id: string | null) {
},
onSuccess: async () => {
if (workspaceId === null || id === null) return;
await queryClient.invalidateQueries(requestsQueryKey(workspaceId));
await queryClient.invalidateQueries(requestsQueryKey({ workspaceId }));
},
});
}