mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-20 00:23:58 +01:00
GraphQL autocomplete and duplicate request
This commit is contained in:
@@ -8,6 +8,7 @@ export function useDeleteRequest(id: string | null) {
|
||||
const queryClient = useQueryClient();
|
||||
return useMutation<void, string>({
|
||||
mutationFn: async () => {
|
||||
console.log('DELETE REQUEST2', id, workspaceId);
|
||||
if (id === null) return;
|
||||
await invoke('delete_request', { requestId: id });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user