ISSUE-045 - Chyron Body - Taking a moment to rename some reducers to be more consistant (verb in front).
This commit is contained in:
1 parent
dbab285578
commit
fd18703d1a
5 files changed
+28
-28
No files matched your search
@@ -46,13 +46,13 @@ export const eventSlice = createSlice({
|
||||
name: "event",
|
||||
initialState,
|
||||
reducers: {
|
||||
courseFlagSet: (state, action: PayloadAction<CourseFlag>) => {
|
||||
setCourseFlag: (state, action: PayloadAction<CourseFlag>) => {
|
||||
state.courseStatus.courseFlag = action.payload;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export const {
|
||||
courseFlagSet,
|
||||
setCourseFlag,
|
||||
} = eventSlice.actions;
|
||||
export default eventSlice.reducer;
|
||||
Reference in new issue
Block a user