Commit 4bde16ca authored by Viacheslav Pavlov's avatar Viacheslav Pavlov

react-router fixed in ssr

parent 5b747542
......@@ -31,8 +31,8 @@ import descriptors from 'descriptors/reducers';
import partner from 'partners/reducers';
import vocabulary from 'vocabulary/reducers';
const rootReducer = (history) => combineReducers({
router: connectRouter(history),
const rootReducer = (history?) => combineReducers({
router: history ? connectRouter(history) : undefined,
form: formReducer,
appMounted,
......
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