Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- case 'splash': {
- nextState = initialState
- break
- }
- case 'auth': {
- nextState = Navigation.router.getStateForAction(
- NavigationActions.reset({
- actions: [NavigationActions.navigate({ routeName: 'Auth' })],
- index: 0,
- }), state
- )
- break
- }
- case 'tabs': {
- nextState = Navigation.router.getStateForAction(
- NavigationActions.reset({
- actions: [NavigationActions.navigate({ routeName: 'Tabs' })],
- index: 0,
- }), state
- )
- break
- }
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement