feat: unify react-query query keys

This commit is contained in:
kasia.oczkowska
2024-04-12 10:07:51 +01:00
parent 897c96361f
commit a36d10870b
46 changed files with 56 additions and 54 deletions

View File

@@ -48,7 +48,7 @@ export default function EditorLayout() {
},
});
await queryClient.invalidateQueries({ queryKey: ['flow', flowId] });
await queryClient.invalidateQueries({ queryKey: ['flows', flowId] });
},
[flowId, queryClient],
);
@@ -71,7 +71,7 @@ export default function EditorLayout() {
},
});
await queryClient.invalidateQueries({ queryKey: ['flow', flowId] });
await queryClient.invalidateQueries({ queryKey: ['flows', flowId] });
},
[flowId, queryClient],
);