Commit 7b9667f8 authored by Aron Fiechter's avatar Aron Fiechter
Browse files

Implement yearRangeSlice actions

parent 9a6dff8f
......@@ -13,13 +13,13 @@ export const yearRangeSlice = createSlice({
// which detects changes to a "draft state" and produces a brand new
// immutable state based off those changes
setStart: (state, action) => {
throw new Error('Not implemented');
state.start = action.payload;
},
setEnd: (state, action) => {
throw new Error('Not implemented');
state.end = action.payload;
},
setYears: (state, action) => {
throw new Error('Not implemented');
state.years = action.payload;
},
},
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment