diff options
Diffstat (limited to 'src/store/reducers')
| -rw-r--r-- | src/store/reducers/userReducer.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/store/reducers/userReducer.ts b/src/store/reducers/userReducer.ts index ce497677..0ef739ac 100644 --- a/src/store/reducers/userReducer.ts +++ b/src/store/reducers/userReducer.ts @@ -53,6 +53,11 @@ const userDataSlice = createSlice({ setNewNotificationReceived: (state, action) => { state.newNotificationReceived = action.payload.newNotificationReceived; }, + + setReplyPosted: (state, action) => { + console.log(action.payload.replyPosted); + state.replyPosted = action.payload.replyPosted; + }, }, }); @@ -63,5 +68,6 @@ export const { profileCompletionStageUpdated, setIsOnboardedUser, setNewNotificationReceived, + setReplyPosted, } = userDataSlice.actions; export const userDataReducer = userDataSlice.reducer; |
