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