diff --git a/frontend/app/Router.tsx b/frontend/app/Router.tsx index 72d6f7332..5bb6b520e 100644 --- a/frontend/app/Router.tsx +++ b/frontend/app/Router.tsx @@ -83,11 +83,10 @@ const Router: React.FC = (props) => { history.push(destinationPath + location.search); localStorage.removeItem(GLOBAL_DESTINATION_PATH); } - + props.mstore.initClient(); await fetchUserInfo(); const siteIdFromPath = parseInt(location.pathname.split('/')[1]); await fetchSiteList(siteIdFromPath); - props.mstore.initClient(); }; useEffect(() => {