From e4a3fb8f1d45a83440454c2eefeea7d312cbe0c5 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 15 Apr 2021 16:55:22 -0400 Subject: cleaned up stack navigators --- src/routes/main/MainStackNavigator.tsx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'src/routes/main') 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; }; -- cgit v1.2.3-70-g09d2