Cockatrice/webclient/src/store/store.ts
Joseph Chamish 1ddc9cc929
Structure change (#4220)
* Structure change

* Remove duplicate folders from previous structure

* Cleanup websocket protocol

* Updating from based off PR

* Fixup - remove wrong files during conflict and get the websocket working

* renaming tsx to ts

Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
2021-01-20 18:50:18 -05:00

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));