diff --git a/packages/react-navigation/examples/ReduxExample/index.js b/packages/react-navigation/examples/ReduxExample/index.js index 031a3265..c1e66dcc 100644 --- a/packages/react-navigation/examples/ReduxExample/index.js +++ b/packages/react-navigation/examples/ReduxExample/index.js @@ -3,145 +3,13 @@ */ import React from 'react'; -import { - AppRegistry, - AsyncStorage, - Button, - StyleSheet, - Text, - View, -} from 'react-native'; -import { - NavigationActions, - addNavigationHelpers, - StackNavigator, -} from 'react-navigation'; -import { - Provider, - connect, -} from 'react-redux'; -import { - createStore, - combineReducers, -} from 'redux'; -import { - persistStore, - autoRehydrate, -} from 'redux-persist'; +import { AppRegistry, AsyncStorage } from 'react-native'; +import { Provider } from 'react-redux'; +import { createStore } from 'redux'; +import { persistStore, autoRehydrate } from 'redux-persist'; -const ProfileScreen = ({ navigation }) => ( - - - Profile Screen - - -); -ProfileScreen.navigationOptions = { - title: 'Profile', -}; - -const LoginScreen = ({ navigation }) => ( - - - Screen A - - - This is great - -