Commit ce503d91 authored by Neranga K.T.'s avatar Neranga K.T.

app.js added

parent f183a4f7
......@@ -16,13 +16,26 @@ LogBox.ignoreAllLogs(); //Ignore all log notifications
// import Home from "./src/screen/Home";
// import Login from "./src/screen/auth/Login"
// import Register from "./src/screen/auth/Register"
import {createStore, combineReducers} from 'redux';
import {Provider} from 'react-redux';
import memoryReducer from './src/store/reducers/memory';
import timeReducer from './src/store/reducers/memory'
import AppRouter from "./src/router/router"
const rootReducer = combineReducers({
memory: memoryReducer,
time: timeReducer
});
const store = createStore(rootReducer);
function App() {
return (
<AppRouter/>
<Provider store={store}>
<AppRouter/>
</Provider>
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment