Tim Glasgow
2 years ago
1 changed files with 15 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||
|
import * as SquareNav from '../../navigation/SquareNav'; |
||||
|
|
||||
|
import { APP_INIT } from '../types/SystemTypes'; |
||||
|
|
||||
|
export function navReducer(state = {}, action){ |
||||
|
switch (action.type) { |
||||
|
case APP_INIT: |
||||
|
SquareNav.navigate('Home'); |
||||
|
break; |
||||
|
default: |
||||
|
break; |
||||
|
} |
||||
|
|
||||
|
return state; |
||||
|
} |
Loading…
Reference in new issue