diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-02-11 17:27:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-11 17:27:30 -0500 |
| commit | d494b27509066f4d1b61078f1fe6457f20d5f449 (patch) | |
| tree | 2418b7e9ff40fbb6d51124644065ead0a6f24e8b /src/store/reducers | |
| parent | 2561d20e17a697726d6b77accf79c9da2d1f6ef6 (diff) | |
| parent | eeac3efd296656a0ef0a1e5797fec7c9955c7a12 (diff) | |
Merge pull request #239 from shravyaramesh/tma641-animation-tutorial
[TMA-641] Suggested People: Swipe Up Animation Tutorial
Diffstat (limited to 'src/store/reducers')
| -rw-r--r-- | src/store/reducers/userReducer.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/store/reducers/userReducer.ts b/src/store/reducers/userReducer.ts index 29ec38cc..773977db 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; }, @@ -73,5 +77,6 @@ export const { setNewVersionAvailable, setNewNotificationReceived, setReplyPosted, + spSwipeTutorialUpdated, } = userDataSlice.actions; export const userDataReducer = userDataSlice.reducer; |
