aboutsummaryrefslogtreecommitdiff
path: root/src/store/reducers
diff options
context:
space:
mode:
authorAshm Walia <ashmwalia@outlook.com>2021-01-31 02:25:53 -0800
committerAshm Walia <ashmwalia@outlook.com>2021-01-31 02:25:53 -0800
commita3000926cb26d9ca2afba116d875653783fb622b (patch)
treea11923d1336aedc712eb3f4073e386879d85035f /src/store/reducers
parentc08699f541089aed989f3f481d10f890c3064170 (diff)
Fixed
Diffstat (limited to 'src/store/reducers')
-rw-r--r--src/store/reducers/userReducer.ts6
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;