aboutsummaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'src/store')
-rw-r--r--src/store/actions/user.ts10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/store/actions/user.ts b/src/store/actions/user.ts
index 98e1727b..50f810e4 100644
--- a/src/store/actions/user.ts
+++ b/src/store/actions/user.ts
@@ -158,12 +158,10 @@ export const updateSPSwipeTutorial = (
> => async (dispatch) => {
try {
const success = await editSPSwipeTutorial(user);
- if (success) {
- dispatch({
- type: spSwipeTutorialUpdated.type,
- payload: {sp_swipe_tutorial: data},
- });
- }
+ dispatch({
+ type: spSwipeTutorialUpdated.type,
+ payload: {sp_swipe_tutorial: data},
+ });
return success;
} catch (error) {
console.log('Error while updating suggested people linked state: ', error);