diff --git a/resources/scripts/components/server/files/FileManagerContainer.tsx b/resources/scripts/components/server/files/FileManagerContainer.tsx index 80ea020d4..85bc6f337 100644 --- a/resources/scripts/components/server/files/FileManagerContainer.tsx +++ b/resources/scripts/components/server/files/FileManagerContainer.tsx @@ -47,9 +47,7 @@ export default () => { return { name: directory, path: `/${dirs.slice(0, index + 1).join('/')}` }; }); - useEffect(() => { - load(); - }, [ window.location.hash ]); + useEffect(() => load(), []); return (