Skip to content

Commit

Permalink
Update screen to navigate
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Cabrera committed Jan 15, 2024
1 parent d97ab59 commit 497b173
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/routes/groups/joinCommunityUnauthenticatedFlow.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
import { createStackNavigator } from 'react-navigation-stack';

Check failure on line 1 in src/routes/groups/joinCommunityUnauthenticatedFlow.ts

View workflow job for this annotation

GitHub Actions / eslint

There should be at least one empty line between import groups
import { navigateNestedReset } from '../../actions/navigation';

Check failure on line 2 in src/routes/groups/joinCommunityUnauthenticatedFlow.ts

View workflow job for this annotation

GitHub Actions / eslint

There should be no empty line within import group

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
Expand Down

0 comments on commit 497b173

Please sign in to comment.