mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 17:09:09 +01:00
Better tauri listeners and stuff
This commit is contained in:
@@ -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 }));
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user