add cell color middleware

This commit is contained in:
Colin Megill
2017-12-22 19:30:07 -08:00
parent 862a1b129b
commit 78dbe1913a
2 changed files with 122 additions and 1 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
import { combineReducers, createStore, applyMiddleware } from 'redux';
import updateURLMiddleware from "../middleware/updateURLMiddleware";
import updateCellSelectionMiddleware from "../middleware/updateCellSelectionMiddleware";
import updateCellColors from "../middleware/updateCellColors";
import thunk from "redux-thunk";
@@ -24,7 +25,8 @@ let store = createStore(
applyMiddleware(
thunk,
updateURLMiddleware,
updateCellSelectionMiddleware
updateCellSelectionMiddleware,
updateCellColors
)
);