Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
commission: commissionInitialState
}
const rootReducer = combineReducers({
assets: combineReducers({
bicycle: bicycle.reducer,
drivetrain: drivetrain.reducer,
paint: paint.reducer,
pedal: pedal.reducer,
saddle: saddle.reducer
}),
commission: commissionReducer
})
const composeEnhancers = composeWithDevTools({})
const store = createStore(
rootReducer,
initialState,
composeEnhancers(applyMiddleware(loggerMiddleware))
)
global[STORE] = store
export { initialState, store }