|
@@ -17,16 +17,6 @@ import HomeScreen from './screens/HomeScreen';
|
17
|
17
|
//import Loading from './components/Loading';
|
18
|
18
|
import Loading from './screens/main/Loading';
|
19
|
19
|
import { firebaseConfig } from './config/firebaseConfig';
|
20
|
|
-<<<<<<< HEAD
|
21
|
|
-=======
|
22
|
|
-import { Text, View } from 'react-native';
|
23
|
|
-import { styles } from './config/styles';
|
24
|
|
-
|
25
|
|
-import HomeScreen from './screens/main/Home_page';
|
26
|
|
-import RoomScreen from './screens/main/RoomScreen'
|
27
|
|
-import { Provider} from 'react-redux'
|
28
|
|
-import { createStore, applyMiddleware } from 'redux';
|
29
|
|
->>>>>>> devErnesto
|
30
|
20
|
import rootReducer from './redux/reducers'
|
31
|
21
|
|
32
|
22
|
|
|
@@ -95,16 +85,9 @@ export default class App extends Component {
|
95
|
85
|
return(
|
96
|
86
|
<Provider store={store}>
|
97
|
87
|
<NavigationContainer>
|
98
|
|
-<<<<<<< HEAD
|
99
|
88
|
<Drawer.Navigator>
|
100
|
89
|
<Drawer.Screen name={" "} options={{drawerLabel: "Home", headerTransparent: true}} children={this.createHomeStack}/>
|
101
|
90
|
</Drawer.Navigator>
|
102
|
|
-=======
|
103
|
|
- <Stack.Navigator initialRouteName="Home">
|
104
|
|
- <Stack.Screen name="Home" component={HomeScreen} />
|
105
|
|
- <Stack.Screen name="Room" component={RoomScreen} options={({ route }) => ({ title: route.params.thread.name })} />
|
106
|
|
- </Stack.Navigator>
|
107
|
|
->>>>>>> devErnesto
|
108
|
91
|
</NavigationContainer>
|
109
|
92
|
</Provider>
|
110
|
93
|
);
|