fix: dialog node count

This commit is contained in:
AykutSarac 2024-05-18 19:03:34 +03:00
parent 4c9119fccf
commit c7bad1b0a6
No known key found for this signature in database

View File

@ -152,7 +152,7 @@ export const Graph = ({ isWidget = false }: GraphProps) => {
});
useEffect(() => {
if (nodeCount > 20 && !isDialogClosed) {
if (nodeCount > 100 && !isDialogClosed) {
setDialogVisible(true);
}
}, [isDialogClosed, nodeCount, setDialogVisible]);