From 0bb9f241a4e0ec6b9b22cb9b3b2e5b633b5e43c4 Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Tue, 2 Mar 2021 07:45:00 -0800 Subject: Initial --- src/routes/main/MainStackNavigator.tsx | 4 ++++ src/routes/main/MainStackScreen.tsx | 8 ++++++++ 2 files changed, 12 insertions(+) (limited to 'src/routes') diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx index 901dd993..e271837f 100644 --- a/src/routes/main/MainStackNavigator.tsx +++ b/src/routes/main/MainStackNavigator.tsx @@ -7,6 +7,7 @@ import { CategorySelectionScreenType, MomentType, ScreenType, + SearchCategoryType, UserType, } from '../../types'; @@ -20,6 +21,9 @@ export type MainStackParams = { RequestContactsAccess: { screenType: ScreenType; }; + DiscoverUsers: { + searchCategory: SearchCategoryType; + }; Profile: { userXId: string | undefined; screenType: ScreenType; diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index 91ed2f70..730ba1c8 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -11,6 +11,7 @@ import { CaptionScreen, CategorySelection, CreateCustomCategory, + DiscoverUsers, EditProfile, FriendsListScreen, IndividualMoment, @@ -139,6 +140,13 @@ const MainStackScreen: React.FC = ({route}) => { initialParams={{screenType}} /> )} +