diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-03-05 17:20:46 -0500 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-03-05 17:20:46 -0500 |
| commit | 10aa8805038f07b1affdcfa1b924810a2c89bee1 (patch) | |
| tree | 87956d553704f3f42d86fe0f8db68e572ac817c5 /src/store | |
| parent | 1465df9621fb963ff873485ad927ff79ea547fa0 (diff) | |
commented out search bar, added screen to onboarding flow, fixed some layout issues
Diffstat (limited to 'src/store')
| -rw-r--r-- | src/store/actions/user.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/store/actions/user.ts b/src/store/actions/user.ts index a9f9d945..4f1da47c 100644 --- a/src/store/actions/user.ts +++ b/src/store/actions/user.ts @@ -174,6 +174,18 @@ export const uploadedSuggestedPeoplePhoto = ( type: setSuggestedPeopleImage.type, payload: {suggestedPeopleImage: imageUri}, }); + } catch (error) { + console.log(error); + } +}; + +export const suggestedPeopleBadgesFinished = (): ThunkAction< + Promise<void>, + RootState, + unknown, + Action<string> +> => async (dispatch) => { + try { dispatch({ type: setSuggestedPeopleLinked.type, payload: {suggested_people_linked: 1}, |
