feat: build nodes and edges from customer_service dsl #918 (#1348)

### What problem does this PR solve?

feat: build nodes and edges from customer_service dsl #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-03 14:03:25 +08:00
committed by GitHub
parent 7c9ea5cad9
commit 477a52620f
4 changed files with 350 additions and 4 deletions

View File

@ -213,7 +213,7 @@ export const useFetchDataOnMount = () => {
useEffect(() => {
setGraphInfo(data?.dsl?.graph ?? ({} as IGraph));
}, [setGraphInfo, data?.dsl?.graph]);
}, [setGraphInfo, data]);
useWatchGraphChange();