From 222c7ab62e57f7dec41d8a14de3768ee9a63fc8e Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 2 Jul 2021 15:56:56 -0400 Subject: Remove comments added from pr review. Also, clean some code that was suggested from pr review. --- src/routes/main/MainStackScreen.tsx | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/routes/main/MainStackScreen.tsx') diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index e19df2c2..948f37b8 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -26,7 +26,6 @@ import { PrivacyScreen, ProfileScreen, RequestContactsAccess, - // SearchScreen, SettingsScreen, SocialMediaTaggs, SuggestedPeopleScreen, @@ -60,7 +59,6 @@ interface MainStackProps { const MainStackScreen: React.FC = ({route}) => { const {screenType} = route.params; - // const isSearchTab = screenType === ScreenType.Search; const isNotificationsTab = screenType === ScreenType.Notifications; const isSuggestedPeopleTab = screenType === ScreenType.SuggestedPeople; const isUploadTab = screenType === ScreenType.Upload; @@ -69,9 +67,6 @@ const MainStackScreen: React.FC = ({route}) => { switch (screenType) { case ScreenType.Profile: return 'Profile'; - /* - case ScreenType.Search: - return 'Search'; */ case ScreenType.Notifications: return 'Notifications'; case ScreenType.SuggestedPeople: @@ -103,19 +98,6 @@ const MainStackScreen: React.FC = ({route}) => { animationEnabled: false, }; - /* - Following was removed to eliminate search screen naviagtion - - {isSearchTab && ( - - )} - - */ - const mainStackScreen = () => { return (