diff --git a/src/routes/groups/joinCommunityUnauthenticatedFlow.ts b/src/routes/groups/joinCommunityUnauthenticatedFlow.ts index a811701eb..97d8d5db1 100644 --- a/src/routes/groups/joinCommunityUnauthenticatedFlow.ts +++ b/src/routes/groups/joinCommunityUnauthenticatedFlow.ts @@ -2,9 +2,9 @@ import { createStackNavigator } from 'react-navigation-stack'; import { navigateNestedReset } from '../../actions/navigation'; import { COMMUNITIES_TAB, MAIN_TABS } from '../../constants'; -import { JOIN_GROUP_SCREEN } from '../../containers/Groups/JoinGroupScreen'; import { authFlowGenerator } from '../auth/authFlowGenerator'; import { SIGNUP_TYPES } from '../../containers/Auth/SignUpScreen'; +import { JOIN_BY_CODE_FLOW } from '../constants'; const JoinCommunityUnauthenticatedFlowScreens = authFlowGenerator({ completeAction: navigateNestedReset([ @@ -12,7 +12,7 @@ const JoinCommunityUnauthenticatedFlowScreens = authFlowGenerator({ routeName: MAIN_TABS, tabName: COMMUNITIES_TAB, }, - { routeName: JOIN_GROUP_SCREEN }, + { routeName: JOIN_BY_CODE_FLOW }, ]), includeSignUp: true, // @ts-ignore