mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 09:18:13 +08:00
rename url reducer
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
import { combineReducers, createStore, applyMiddleware } from 'redux';
|
||||
import updateURLMiddleware from "../middleware/updateURLMiddleware";
|
||||
import cells from './cells';
|
||||
import onURLchange from "./onURLchange";
|
||||
import thunk from "redux-thunk";
|
||||
import cells from "./cells";
|
||||
import url from "./url";
|
||||
|
||||
const Reducer = combineReducers({
|
||||
cells,
|
||||
onURLchange,
|
||||
url,
|
||||
})
|
||||
|
||||
let store = createStore(
|
||||
Reducer,
|
||||
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(),
|
||||
applyMiddleware(updateURLMiddleware)
|
||||
applyMiddleware(thunk, updateURLMiddleware)
|
||||
);
|
||||
|
||||
export default store;
|
||||
|
||||
Reference in New Issue
Block a user