-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
31 lines (27 loc) · 794 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React, { Component } from 'react';
import AppNavigation from './src/navigation';
import {
View,
StatusBar,
YellowBox
} from 'react-native';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import ReduxThunk from 'redux-thunk';
import reducers from './src/reducers';
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Remote debugger', 'Module RCTImageLoader', 'Setting a timer']);
// console.ignoredYellowBox = [
// 'Setting a timer'
// ]
console.disableYellowBox = true;
class App extends Component {
render() {
const store = createStore(reducers, {}, applyMiddleware(ReduxThunk));
return(
<Provider store={store}>
<AppNavigation />
</Provider>
);
}
}
export default App;