diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-06-23 15:21:14 -0400 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-06-23 15:21:14 -0400 |
| commit | 545caa8c32e383551b1f1d5de61a300bc39100ff (patch) | |
| tree | eb15f73f0a3956ed4a46869728908590a15efe51 /src/routes | |
| parent | cd5863264d0fe954e63d8cc93fc4ee6ab509f49b (diff) | |
Cleanup code, Update route params for Caption Screen
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/main/MainStackNavigator.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx index 8fce5e2f..8157f0d7 100644 --- a/src/routes/main/MainStackNavigator.tsx +++ b/src/routes/main/MainStackNavigator.tsx @@ -2,7 +2,6 @@ * Note the name userXId here, it refers to the id of the user being visited */ import {createStackNavigator} from '@react-navigation/stack'; -import {Image} from 'react-native-image-crop-picker'; import { CommentBaseType, MomentTagType, @@ -38,7 +37,7 @@ export type MainStackParams = { }; CaptionScreen: { title?: string; - image?: Image; + media?: {filename: string; uri: string; type: 'image' | 'video'}; screenType: ScreenType; selectedTags?: MomentTagType[]; moment?: MomentType; |
