summaryrefslogtreecommitdiff
path: root/app/client/modules/morph/morph.reducer.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/modules/morph/morph.reducer.js')
-rw-r--r--app/client/modules/morph/morph.reducer.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/client/modules/morph/morph.reducer.js b/app/client/modules/morph/morph.reducer.js
index 99e2001..5c46a4e 100644
--- a/app/client/modules/morph/morph.reducer.js
+++ b/app/client/modules/morph/morph.reducer.js
@@ -16,16 +16,13 @@ const morphReducer = (state = morphInitialState, action) => {
}
switch (action.type) {
- case types.morph.load_results:
- return {
- ...state,
- results: action.results,
- }
case types.morph.load:
console.log('morph load', action.app)
return {
...state,
app: action.app,
+ loading: false,
+ data: action.data,
}
case types.file.create:
console.log(action)