aboutsummaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-05 17:20:46 -0500
committerIvan Chen <ivan@tagg.id>2021-03-05 17:20:46 -0500
commit10aa8805038f07b1affdcfa1b924810a2c89bee1 (patch)
tree87956d553704f3f42d86fe0f8db68e572ac817c5 /src/store
parent1465df9621fb963ff873485ad927ff79ea547fa0 (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.ts12
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},