redux-tiny-router
redux-tiny-router copied to clipboard
Cannot read property 'preventNavigation' of undefined
Hey
Looks like when I'm combining reducers the initial state isn't set somehow.
I can see the state as
Object {counter: Object}
so router is missing.
My reducer function looks like this:
import { combineReducers } from 'redux';
import counter from './counter';
import { tinyReducer } from 'redux-tiny-router';
const rootReducer = combineReducers({
tinyReducer,
counter,
});
export default rootReducer;
Am I missing something?