mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
* 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>
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));
|