From 0ea5e2a5c9a717638a2714aef54d729938fe562e Mon Sep 17 00:00:00 2001 From: Shravya Ramesh Date: Thu, 20 May 2021 10:05:02 -0700 Subject: Missed from previous commit --- src/routes/main/MainStackNavigator.tsx | 6 +++++- src/routes/main/MainStackScreen.tsx | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx index dac60c0c..67be9e46 100644 --- a/src/routes/main/MainStackNavigator.tsx +++ b/src/routes/main/MainStackNavigator.tsx @@ -6,6 +6,7 @@ import {Image} from 'react-native-image-crop-picker'; import { CommentBaseType, MomentType, + ProfilePreviewType, ScreenType, SearchCategoryType, } from '../../types'; @@ -39,6 +40,7 @@ export type MainStackParams = { title: string; image: Image; screenType: ScreenType; + selectedUsers?: ProfilePreviewType[]; }; IndividualMoment: { moment: MomentType; @@ -99,7 +101,9 @@ export type MainStackParams = { ChatList: undefined; Chat: undefined; NewChatModal: undefined; - TagSelection: undefined; + TagSelection: { + selectedUsers: ProfilePreviewType[]; + }; }; export const MainStack = createStackNavigator(); diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index d146190c..d18d11c6 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -311,7 +311,13 @@ const MainStackScreen: React.FC = ({route}) => { component={NewChatModal} options={{headerShown: false, ...newChatModalStyle}} /> - + ); }; -- cgit v1.2.3-70-g09d2