aboutsummaryrefslogtreecommitdiff
path: root/src/routes/main
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-21 15:43:03 -0400
committerIvan Chen <ivan@tagg.id>2021-04-21 15:43:03 -0400
commit0dd0a4ac4343df036a1f16cbde070c524405bd21 (patch)
tree292a30ce0228560720214645805deb4b89f2eeae /src/routes/main
parent5c438df5f6787cdc6c393873a98590cc827667b9 (diff)
parent4e8e1c0d58424e6b63cfb8470fc0a73c0e6b102b (diff)
Merge branch 'master' into hotfix-linting-fixup
# Conflicts: # .eslintrc.js # src/components/notifications/Notification.tsx # src/screens/onboarding/legacy/SocialMedia.tsx # src/screens/onboarding/legacy/WaitlistSuccessScreen.tsx # src/screens/profile/CategorySelection.tsx
Diffstat (limited to 'src/routes/main')
-rw-r--r--src/routes/main/MainStackNavigator.tsx14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx
index 64ad9198..1f173569 100644
--- a/src/routes/main/MainStackNavigator.tsx
+++ b/src/routes/main/MainStackNavigator.tsx
@@ -3,13 +3,7 @@
*/
import {createStackNavigator} from '@react-navigation/stack';
import {Image} from 'react-native-image-crop-picker';
-import {
- CategorySelectionScreenType,
- MomentType,
- ScreenType,
- SearchCategoryType,
- UserType,
-} from '../../types';
+import {MomentType, ScreenType, SearchCategoryType} from '../../types';
export type MainStackParams = {
SuggestedPeople: {
@@ -61,11 +55,11 @@ export type MainStackParams = {
username: string;
};
CategorySelection: {
- screenType: CategorySelectionScreenType;
- user: UserType;
newCustomCategory: string | undefined;
};
- CreateCustomCategory: {};
+ CreateCustomCategory: {
+ existingCategories: string[];
+ };
Notifications: {
screenType: ScreenType;
};