From 497b17371bcb13506e5486bd026a383f9e63f142 Mon Sep 17 00:00:00 2001 From: Alberto Cabrera Date: Mon, 15 Jan 2024 17:43:59 +0800 Subject: [PATCH] Update screen to navigate --- src/routes/groups/joinCommunityUnauthenticatedFlow.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes/groups/joinCommunityUnauthenticatedFlow.ts b/src/routes/groups/joinCommunityUnauthenticatedFlow.ts index 971e533ce..56cc67e3b 100644 --- a/src/routes/groups/joinCommunityUnauthenticatedFlow.ts +++ b/src/routes/groups/joinCommunityUnauthenticatedFlow.ts @@ -1,16 +1,18 @@ import { createStackNavigator } from 'react-navigation-stack'; import { navigateNestedReset } from '../../actions/navigation'; -import { MAIN_TABS, PEOPLE_TAB } from '../../constants'; +import { COMMUNITIES_TAB, MAIN_TABS } from '../../constants'; import { authFlowGenerator } from '../auth/authFlowGenerator'; import { SIGNUP_TYPES } from '../../containers/Auth/SignUpScreen'; +import { JOIN_BY_CODE_FLOW } from '../constants'; const JoinCommunityUnauthenticatedFlowScreens = authFlowGenerator({ completeAction: navigateNestedReset([ { routeName: MAIN_TABS, - tabName: PEOPLE_TAB, + tabName: COMMUNITIES_TAB, }, + { routeName: JOIN_BY_CODE_FLOW }, ]), includeSignUp: true, // @ts-ignore