Skip to content

Commit

Permalink
Change screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Cabrera committed Jan 15, 2024
1 parent 497d488 commit d97ab59
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/routes/groups/joinCommunityUnauthenticatedFlow.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
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 { COMMUNITIES_TAB, MAIN_TABS } from '../../constants';
import { JOIN_GROUP_SCREEN } from '../../containers/Groups/JoinGroupScreen';

import { MAIN_TABS, PEOPLE_TAB } from '../../constants';
import { authFlowGenerator } from '../auth/authFlowGenerator';
import { SIGNUP_TYPES } from '../../containers/Auth/SignUpScreen';

const JoinCommunityUnauthenticatedFlowScreens = authFlowGenerator({
completeAction: navigateNestedReset([
{
routeName: MAIN_TABS,
tabName: COMMUNITIES_TAB,
tabName: PEOPLE_TAB,
},
{ routeName: JOIN_GROUP_SCREEN },
]),
includeSignUp: true,
// @ts-ignore
Expand Down

0 comments on commit d97ab59

Please sign in to comment.