mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-23 18:01:21 +01:00
Add mutationKey everywhere
This commit is contained in:
@@ -12,7 +12,7 @@ export function useMoveToWorkspace(id: string) {
|
||||
const activeWorkspaceId = useActiveWorkspaceId();
|
||||
|
||||
return useMutation<void, unknown>({
|
||||
mutationKey: ['moveWorkspace'],
|
||||
mutationKey: ['move_workspace', id],
|
||||
mutationFn: async () => {
|
||||
if (request == null || activeWorkspaceId == null) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user