diff --git a/src/libs/navigateAfterJoinRequest/index.ts b/src/libs/navigateAfterJoinRequest/index.ts index b9e533208ec2..b53c59d678c9 100644 --- a/src/libs/navigateAfterJoinRequest/index.ts +++ b/src/libs/navigateAfterJoinRequest/index.ts @@ -4,5 +4,6 @@ import ROUTES from '@src/ROUTES'; const navigateAfterJoinRequest = () => { Navigation.goBack(undefined, false, true); Navigation.navigate(ROUTES.ALL_SETTINGS); + Navigation.navigate(ROUTES.SETTINGS_WORKSPACES); }; export default navigateAfterJoinRequest; diff --git a/src/pages/workspace/WorkspaceJoinUserPage.tsx b/src/pages/workspace/WorkspaceJoinUserPage.tsx index 8167e6fc1ebf..ffcf871ae70d 100644 --- a/src/pages/workspace/WorkspaceJoinUserPage.tsx +++ b/src/pages/workspace/WorkspaceJoinUserPage.tsx @@ -36,7 +36,7 @@ function WorkspaceJoinUserPage({route, policies}: WorkspaceJoinUserPageProps) { if (!isJoinLinkUsed) { return; } - Navigation.goBack(undefined, false, true); + navigateAfterJoinRequest(); }, []); useEffect(() => {