mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 02:12:53 +00:00
14 lines
344 B
JavaScript
14 lines
344 B
JavaScript
//just using one reducer - use combineReducers from redux to modularize things
|
|
import {combineReducers} from 'redux';
|
|
import {routerReducer} from 'react-router-redux';
|
|
|
|
import app from './app';
|
|
import sensor from './sensor';
|
|
|
|
const allReducers = combineReducers({
|
|
app,
|
|
sensor,
|
|
routing: routerReducer
|
|
});
|
|
|
|
export default allReducers; |