1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-30 07:48:59 +09:00
whippy-edition/app/assets/javascripts/components/store/configureStore.jsx

8 lines
229 B
JavaScript

import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import appReducer from '../reducers';
export default function configureStore() {
return createStore(appReducer, applyMiddleware(thunk));
}