Skip to content
Snippets Groups Projects
Commit b8359a5a authored by Tom Robinson's avatar Tom Robinson Committed by GitHub
Browse files

Comment about resetting parameter values

parent f831e5b3
No related branches found
No related tags found
No related merge requests found
...@@ -476,7 +476,7 @@ const cardDurations = handleActions({ ...@@ -476,7 +476,7 @@ const cardDurations = handleActions({
}, {}); }, {});
const parameterValues = handleActions({ const parameterValues = handleActions({
[INITIALIZE]: { next: () => ({}) }, [INITIALIZE]: { next: () => ({}) }, // reset values
[SET_PARAMETER_VALUE]: { next: (state, { payload: { id, value }}) => i.assoc(state, id, value) }, [SET_PARAMETER_VALUE]: { next: (state, { payload: { id, value }}) => i.assoc(state, id, value) },
[REMOVE_PARAMETER]: { next: (state, { payload: { id }}) => i.dissoc(state, id) } [REMOVE_PARAMETER]: { next: (state, { payload: { id }}) => i.dissoc(state, id) }
}, {}); }, {});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment