ErnestoOrtiz2 3 years ago
parent
commit
36a75cbfac
3 changed files with 0 additions and 46 deletions
  1. 0
    17
      App.js
  2. 0
    25
      screens/main/Home_page.js
  3. 0
    4
      screens/main/RoomScreen.js

+ 0
- 17
App.js View File

@@ -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
     );

+ 0
- 25
screens/main/Home_page.js View File

@@ -13,17 +13,6 @@ import { bindActionCreators } from 'redux'
13 13
 import { fetchUser } from '../../redux/actions/index'
14 14
 
15 15
 export function Home_page({navigation}) {
16
-<<<<<<< HEAD
17
-
18
-  return (
19
-    <TouchableWithoutFeedback style={styles.stdcontainer} onPress={Keyboard.dismiss} accessible={false}>
20
-        <ImageBackground style={styles.stdcontainer} source={require('../../assets/yellow-white.jpg')}>
21
-            <CustomButton marginTop={25} title="Calendar" onPress={() => navigation.navigate('Calendar')}/>
22
-        </ImageBackground>
23
-    </TouchableWithoutFeedback>
24
-  );
25
-}
26
-=======
27 16
   const [threads, setThreads] = useState([]);  
28 17
   const [loading, setLoading] = useState(true);
29 18
   
@@ -110,24 +99,10 @@ export function Home_page({navigation}) {
110 99
         </ImageBackground>
111 100
     );
112 101
   }
113
->>>>>>> devErnesto
114 102
 
115 103
 const mapStateToProps = (store) => ({
116 104
   currentUser: store.userState.currentUser
117 105
 })
118 106
 const mapDispatchProps = (dispatch) => bindActionCreators({fetchUser}, dispatch);
119 107
 
120
-<<<<<<< HEAD
121
-export default connect(mapStateToProps, mapDispatchProps)(Home_page);
122
-const mapStateToProps = (store) => ({
123
-  currentUser: store.userState.currentUser
124
-})
125
-const mapDispatchProps = (dispatch) => bindActionCreators({fetchUser}, dispatch);
126
-
127
-export default connect(mapStateToProps, mapDispatchProps)(Home_page);
128
-
129
-
130
-
131
-=======
132 108
 export default connect(mapStateToProps, mapDispatchProps)(Home_page);
133
->>>>>>> devErnesto

+ 0
- 4
screens/main/RoomScreen.js View File

@@ -1,7 +1,3 @@
1
-<<<<<<< HEAD
2
-=======
3
-
4
->>>>>>> devErnesto
5 1
 import React, { useState, useEffect, useCallback } from 'react';
6 2
 import { GiftedChat } from 'react-native-gifted-chat';
7 3
 import firebase from 'firebase';