Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix useEffect missing dependency

AykutSaracc173a140f4c6
diff --git a/src/pages/widget.tsx b/src/pages/widget.tsx
index 5509ec7f..818a81ea 100644
--- a/src/pages/widget.tsx
+++ b/src/pages/widget.tsx
@@ -52,7 +52,7 @@ const Widget = () => {
}
if (!inIframe()) push("/");
- }, [query?.json]);
+ }, [query?.json, push]);
return (
<div>