Skip to content

Commit

Permalink
change webview redirect to inbox v04
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Aug 3, 2023
1 parent d64886e commit 03f737e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand All @@ -26,7 +26,7 @@ const WebViewLoginHandler: FC = () => {
window.ReactNativeWebView.postMessage(
WebviewActions.loginSuccess,
);
history.push(getInboxPagePath());
history.push(getInboxPagePath_v04());
} else {
window.ReactNativeWebView.postMessage(
WebviewActions.loginError,
Expand Down

0 comments on commit 03f737e

Please sign in to comment.