feat: Extract the code for building categorize operator coordinates to hooks.ts #1739 (#2005)

### What problem does this PR solve?

feat: Extract the code for building categorize operator coordinates to
hooks.ts #1739

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-19 19:00:04 +08:00
committed by GitHub
parent 9cfd521d67
commit 85f10f84bd
7 changed files with 115 additions and 77 deletions

View File

@ -147,7 +147,6 @@ const useGraphStore = create<RFState>()(
]);
}
},
addNode: (node: Node) => {
set({ nodes: get().nodes.concat(node) });
},