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 241e939 commit 67291a5Copy full SHA for 67291a5
frontend/src/components/canvas/index.tsx
@@ -88,9 +88,7 @@ function Flow({ className }: CanvasProps) {
88
const updatedNode = nodesMap.get(nodeId) as Node;
89
90
if (change.action === "add") {
91
- if (!existingPageIds.current.has(nodeId)) {
92
- queryClient.invalidateQueries({ queryKey: ["pages"] });
93
- }
+ queryClient.invalidateQueries({ queryKey: ["pages"] });
94
}
95
96
setNodes((nds) => {
0 commit comments