diff --git a/src/pages/App/handlers/WebViewLoginHandler/WebViewLoginHandler.tsx b/src/pages/App/handlers/WebViewLoginHandler/WebViewLoginHandler.tsx index 3a293f7004..d3f1aac2e3 100644 --- a/src/pages/App/handlers/WebViewLoginHandler/WebViewLoginHandler.tsx +++ b/src/pages/App/handlers/WebViewLoginHandler/WebViewLoginHandler.tsx @@ -4,7 +4,7 @@ import { webviewLogin } from "@/pages/Auth/store/actions"; import { history } from "@/shared/appConfig"; import { WebviewActions } from "@/shared/constants"; import { FirebaseCredentials } from "@/shared/interfaces/FirebaseCredentials"; -import { getInboxPagePath } from "@/shared/utils"; +import { getInboxPagePath_v04 } from "@/shared/utils"; import { parseJson } from "@/shared/utils/json"; const WebViewLoginHandler: FC = () => { @@ -25,7 +25,7 @@ const WebViewLoginHandler: FC = () => { window.ReactNativeWebView.postMessage( WebviewActions.loginSuccess, ); - history.push(getInboxPagePath()); + history.push(getInboxPagePath_v04()); } else { window.ReactNativeWebView.postMessage(WebviewActions.loginError); } diff --git a/src/shared/layouts/MultipleSpacesLayout/MultipleSpacesLayout.tsx b/src/shared/layouts/MultipleSpacesLayout/MultipleSpacesLayout.tsx index e0df2a4af1..33bac15654 100644 --- a/src/shared/layouts/MultipleSpacesLayout/MultipleSpacesLayout.tsx +++ b/src/shared/layouts/MultipleSpacesLayout/MultipleSpacesLayout.tsx @@ -17,8 +17,7 @@ import { selectMultipleSpacesLayoutBackUrl, } from "@/store/states"; import { getSidenavLeft } from "../CommonSidenavLayout/utils"; -import { Header, /* SidenavContent */ } from "./components"; -import { SidenavContent as SidenavContentV04 } from "../CommonSidenavLayout/components"; +import { Header, SidenavContent } from "./components"; import styles from "./MultipleSpacesLayout.module.scss"; const MULTIPLE_SPACES_LAYOUT_SIDENAV_OPEN_STATE = "open"; @@ -109,9 +108,9 @@ const MultipleSpacesLayout: FC = (props) => { shouldCheckViewportForOpenState={false} withAnimation > -