mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-02-04 01:32:54 +08:00
fix: dialog node count
This commit is contained in:
parent
4c9119fccf
commit
c7bad1b0a6
@ -152,7 +152,7 @@ export const Graph = ({ isWidget = false }: GraphProps) => {
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
if (nodeCount > 20 && !isDialogClosed) {
|
||||
if (nodeCount > 100 && !isDialogClosed) {
|
||||
setDialogVisible(true);
|
||||
}
|
||||
}, [isDialogClosed, nodeCount, setDialogVisible]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user