We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 077cede commit 5b974d0Copy full SHA for 5b974d0
src/hooks/api/useMoveProjectObject.ts
@@ -58,7 +58,7 @@ export const useMoveProjectObject = (
58
const promises = [
59
queryClient.invalidateQueries({ queryKey: getGetProjectQueryKey(projectId) }),
60
queryClient.invalidateQueries({
61
- queryKey: getGetFilesQueryKey({ project_id: projectId, path: getPathStem(srcPath) }),
+ queryKey: getGetFilesQueryKey({ project_id: projectId, path: srcPath }),
62
}),
63
];
64
if (dstPath) {
0 commit comments