mirror of
https://github.com/ditkrg/AuthorizationServerDemos.git
synced 2026-01-25 13:33:10 +00:00
add a sample AuthorizationServer to the repo and put traffic-police app in a separate folder
This commit is contained in:
13
React/traffic-police/src/store.js
Normal file
13
React/traffic-police/src/store.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user