aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/main/MainStackNavigator.tsx20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx
index aeead38d..d22c1874 100644
--- a/src/routes/main/MainStackNavigator.tsx
+++ b/src/routes/main/MainStackNavigator.tsx
@@ -5,8 +5,8 @@ import {createStackNavigator} from '@react-navigation/stack';
import {Image} from 'react-native-image-crop-picker';
import {
CommentBaseType,
+ MomentTagType,
MomentType,
- ProfilePreviewType,
ScreenType,
SearchCategoryType,
} from '../../types';
@@ -40,7 +40,15 @@ export type MainStackParams = {
title: string;
image: Image;
screenType: ScreenType;
- selectedUsers?: ProfilePreviewType[];
+ selectedTags?: MomentTagType[];
+ };
+ TagFriendsScreen: {
+ image: Image;
+ screenType: ScreenType;
+ selectedTags?: MomentTagType[];
+ };
+ TagSelectionScreen: {
+ selectedTags: MomentTagType[];
};
IndividualMoment: {
moment: MomentType;
@@ -99,14 +107,6 @@ export type MainStackParams = {
ChatList: undefined;
Chat: undefined;
NewChatModal: undefined;
- TagSelectionScreen: {
- selectedUsers: ProfilePreviewType[];
- };
- TagFriendsScreen: {
- image: Image;
- screenType: ScreenType;
- selectedUsers?: ProfilePreviewType[];
- };
};
export const MainStack = createStackNavigator<MainStackParams>();