initial commit
This commit is contained in:
7
src/store/store.ts
Normal file
7
src/store/store.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import {configureStore} from '@reduxjs/toolkit';
|
||||
import reducer from './reducer';
|
||||
import phenixWebSocketMiddleware from './middlewares/PhenixWebSocket.middleware';
|
||||
|
||||
export const store = configureStore({reducer, middleware: getDefaultMiddleware => getDefaultMiddleware().concat(phenixWebSocketMiddleware)});
|
||||
|
||||
export type RootState = ReturnType<typeof store.getState>;
|
||||
Reference in New Issue
Block a user