Skip to content

Commit

Permalink
change style of Edit Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaofeng authored and Chaofeng committed Apr 22, 2018
1 parent b04648b commit b446737
Show file tree
Hide file tree
Showing 10 changed files with 195 additions and 388 deletions.
13 changes: 2 additions & 11 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,19 @@
* Created by kai on 28/02/2018.
*/
import React from 'react'
import {AppRegistry, AsyncStorage} from 'react-native'
import AppContainer from './src/AppContainer'
import {Provider} from 'react-redux'
import {createStore, applyMiddleware, combineReducers, compose} from 'redux'
import {applyMiddleware, compose, createStore} from 'redux'
import thunkMiddleware from 'redux-thunk';

// import createLogger from 'redux-logger'
import reducer from './src/reducers'
import initialState from "./src/reducers/initialState";
import {Root} from "native-base";

// middleware that logs actions
// const loggerMiddleware = createLogger({ predicate: (getState, action) => __DEV__ });

console.disableYellowBox = true;
function configureStore(initialState) {
const enhancer = compose(
applyMiddleware(
thunkMiddleware, // lets us dispatch() functions
// loggerMiddleware,
thunkMiddleware,
),
);
return createStore(reducer, initialState, enhancer);
Expand All @@ -36,5 +29,3 @@ export default () => (
</Provider>
</Root>
);

// AppRegistry.registerComponent('PicFood', () => App);
Loading

0 comments on commit b446737

Please sign in to comment.