aboutsummaryrefslogtreecommitdiff
path: root/src/routes/main
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-21 13:57:09 -0400
committerGitHub <noreply@github.com>2021-04-21 13:57:09 -0400
commit4e8e1c0d58424e6b63cfb8470fc0a73c0e6b102b (patch)
tree5b2dcc2daffc5b6f4fa2ae2b55c5548a12b6210c /src/routes/main
parentb556f97a7eae3f9d9fce2d9c5c25f419ba77fa14 (diff)
parentf902c4938344dd25d82d7d01035476f488db2b24 (diff)
Merge pull request #370 from IvanIFChen/tma795-move-create-button
[TMA-795/796] Move create button
Diffstat (limited to 'src/routes/main')
-rw-r--r--src/routes/main/MainStackNavigator.tsx14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/routes/main/MainStackNavigator.tsx b/src/routes/main/MainStackNavigator.tsx
index 64ad9198..1f173569 100644
--- a/src/routes/main/MainStackNavigator.tsx
+++ b/src/routes/main/MainStackNavigator.tsx
@@ -3,13 +3,7 @@
*/
import {createStackNavigator} from '@react-navigation/stack';
import {Image} from 'react-native-image-crop-picker';
-import {
- CategorySelectionScreenType,
- MomentType,
- ScreenType,
- SearchCategoryType,
- UserType,
-} from '../../types';
+import {MomentType, ScreenType, SearchCategoryType} from '../../types';
export type MainStackParams = {
SuggestedPeople: {
@@ -61,11 +55,11 @@ export type MainStackParams = {
username: string;
};
CategorySelection: {
- screenType: CategorySelectionScreenType;
- user: UserType;
newCustomCategory: string | undefined;
};
- CreateCustomCategory: {};
+ CreateCustomCategory: {
+ existingCategories: string[];
+ };
Notifications: {
screenType: ScreenType;
};