Skip to content

Commit

Permalink
fix: add empty dependency array to useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd authored Aug 18, 2023
1 parent 45c6e57 commit 15f78fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function Example() {
};

fetchJsonData(jsonURL);
});
}, []);

const activateSidebar = (param: any) => {
setOpen(true);
Expand Down

0 comments on commit 15f78fb

Please sign in to comment.