diff --git a/src/components/ProjectScreen/index.tsx b/src/components/ProjectScreen/index.tsx index fa65a48f9c..67af430b19 100644 --- a/src/components/ProjectScreen/index.tsx +++ b/src/components/ProjectScreen/index.tsx @@ -14,7 +14,7 @@ export default function ProjectScreen(): ReactElement { useEffect(() => { dispatch(clearCurrentProject()); dispatch(resetTreeAction()); - }); + }, [dispatch]); return (