mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-10 07:13:47 -07:00
Initial Commit Rework
This commit is contained in:
parent
74a4cc048c
commit
95051cbd63
2483 changed files with 101351 additions and 111396 deletions
15
frontend/src/Store/createAppStore.js
Normal file
15
frontend/src/Store/createAppStore.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { createStore } from 'redux';
|
||||
import reducers, { defaultState } from 'Store/Reducers';
|
||||
import middlewares from 'Store/Middleware/middlewares';
|
||||
|
||||
function createAppStore(history) {
|
||||
const appStore = createStore(
|
||||
reducers,
|
||||
defaultState,
|
||||
middlewares(history)
|
||||
);
|
||||
|
||||
return appStore;
|
||||
}
|
||||
|
||||
export default createAppStore;
|
Loading…
Add table
Add a link
Reference in a new issue