Skip to content

Commit

Permalink
Merge pull request #2328 from CruGlobal/fix/sign-in-bug
Browse files Browse the repository at this point in the history
Fix Sign Navigation
  • Loading branch information
rossellemabunga authored Jan 15, 2024
2 parents 497d488 + 0ecb8a4 commit 48e744f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/groups/joinCommunityUnauthenticatedFlow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ 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([
{
routeName: MAIN_TABS,
tabName: COMMUNITIES_TAB,
},
{ routeName: JOIN_GROUP_SCREEN },
{ routeName: JOIN_BY_CODE_FLOW },
]),
includeSignUp: true,
// @ts-ignore
Expand Down

0 comments on commit 48e744f

Please sign in to comment.