mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
New: Project Aphrodite
This commit is contained in:
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/Actions/reducers';
|
||||
import middlewares from 'Store/Middleware/middlewares';
|
||||
|
||||
function createAppStore(history) {
|
||||
const appStore = createStore(
|
||||
reducers,
|
||||
defaultState,
|
||||
middlewares(history)
|
||||
);
|
||||
|
||||
return appStore;
|
||||
}
|
||||
|
||||
export default createAppStore;
|
Reference in New Issue
Block a user