fix(folders): reset state upon deleting folder and updating flow folder
This commit is contained in:
@@ -14,7 +14,7 @@ export default function useUpdateFlowFolder(flowId) {
|
||||
},
|
||||
onSuccess: async () => {
|
||||
await queryClient.invalidateQueries({
|
||||
queryKey: ['flows', flowId, 'folder'],
|
||||
queryKey: ['flows'],
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user