aboutsummaryrefslogtreecommitdiff
path: root/src/store/reducers
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/reducers')
-rw-r--r--src/store/reducers/userReducer.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/store/reducers/userReducer.ts b/src/store/reducers/userReducer.ts
index 1e575339..b353cc60 100644
--- a/src/store/reducers/userReducer.ts
+++ b/src/store/reducers/userReducer.ts
@@ -1,4 +1,4 @@
-import {createSlice, Action} from '@reduxjs/toolkit';
+import {createSlice} from '@reduxjs/toolkit';
import {NO_USER_DATA} from '../initialStates';
/**
@@ -46,6 +46,10 @@ const userDataSlice = createSlice({
state.profile.profile_completion_stage = action.payload.stage;
},
+ spSwipeTutorialUpdated: (state, action) => {
+ state.profile.sp_swipe_tutorial = action.payload.sp_swipe_tutorial;
+ },
+
setIsOnboardedUser: (state, action) => {
state.isOnboardedUser = action.payload.isOnboardedUser;
},
@@ -68,5 +72,6 @@ export const {
setIsOnboardedUser,
setNewNotificationReceived,
setReplyPosted,
+ spSwipeTutorialUpdated,
} = userDataSlice.actions;
export const userDataReducer = userDataSlice.reducer;