mirror of
https://github.com/ditkrg/AuthorizationServerDemos.git
synced 2026-01-23 09:26:49 +00:00
13 lines
293 B
JavaScript
13 lines
293 B
JavaScript
import { createStore, compose } from 'redux';
|
|
import rootReducer from './reducers'
|
|
|
|
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
|
const initialState = {}
|
|
|
|
const store = createStore(
|
|
rootReducer,
|
|
initialState,
|
|
composeEnhancers()
|
|
)
|
|
|
|
export default store; |