diff options
-rw-r--r-- | frontend/src/store.ts (renamed from frontend/src/store.js) | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontend/src/store.js b/frontend/src/store.ts index 2a5bf4bb..54a65509 100644 --- a/frontend/src/store.js +++ b/frontend/src/store.ts @@ -1,14 +1,13 @@ -// @flow import createHistory from 'history/createBrowserHistory'; import { routerMiddleware } from 'react-router-redux'; import { applyMiddleware, createStore } from 'redux'; import { composeWithDevTools } from 'redux-devtools-extension'; import createSagaMiddleware from 'redux-saga'; -import type { GlobalState } from './reducers'; +import { GlobalState } from './reducers'; import { createReducer } from './reducers'; import { rootSaga } from './sagas'; -export function configureStore(initialState: GlobalState = {}) { +export function configureStore(initialState: GlobalState) { const sagaMiddleware = createSagaMiddleware(); const history = createHistory(); |