mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-10 07:13:47 -07:00
New: Replace 'react-router-redux' with 'connected-react-router'
This commit is contained in:
parent
df65b5b290
commit
f43c1e749f
12 changed files with 59 additions and 48 deletions
|
@ -1,10 +1,10 @@
|
|||
import { createStore } from 'redux';
|
||||
import reducers, { defaultState } from 'Store/Actions/reducers';
|
||||
import createReducers, { defaultState } from 'Store/Actions/createReducers';
|
||||
import middlewares from 'Store/Middleware/middlewares';
|
||||
|
||||
function createAppStore(history) {
|
||||
const appStore = createStore(
|
||||
reducers,
|
||||
createReducers(history),
|
||||
defaultState,
|
||||
middlewares(history)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue