mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
9 lines
282 B
TypeScript
9 lines
282 B
TypeScript
import { createStore, applyMiddleware } from 'redux';
|
|
import thunk from 'redux-thunk';
|
|
import rootReducer from './rootReducer';
|
|
|
|
const initialState = {};
|
|
|
|
const middleware: any = [thunk];
|
|
|
|
export const store = createStore(rootReducer, initialState, applyMiddleware(...middleware));
|