diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 309f99f..0134a5b 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -95,7 +95,7 @@ export default function Example() { }; fetchJsonData(jsonURL); - }); + }, []); const activateSidebar = (param: any) => { setOpen(true);