aboutsummaryrefslogtreecommitdiff
path: root/src/routes/profile/ProfileStack.tsx
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-10-19 17:14:37 -0700
committerGitHub <noreply@github.com>2020-10-19 20:14:37 -0400
commit88fb33d1fe1cd0785e4a92cb3c20d0fafb2da54d (patch)
treeb2e8d474b2c0b02f4e91cd33fa0d5f9842d3a018 /src/routes/profile/ProfileStack.tsx
parent1b7fef188ec2aee0706fc1204432315db3d4fec6 (diff)
Merged changes to make sure moments view and search work (#62)
Diffstat (limited to 'src/routes/profile/ProfileStack.tsx')
-rw-r--r--src/routes/profile/ProfileStack.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routes/profile/ProfileStack.tsx b/src/routes/profile/ProfileStack.tsx
index df4d234f..1d7b907e 100644
--- a/src/routes/profile/ProfileStack.tsx
+++ b/src/routes/profile/ProfileStack.tsx
@@ -1,4 +1,5 @@
import {createStackNavigator} from '@react-navigation/stack';
+import {MomentType} from '../../types';
export type ProfileStackParams = {
Search: undefined;
@@ -14,6 +15,10 @@ export type ProfileStackParams = {
title: string;
image: object;
};
+ IndividualMoment: {
+ moment: MomentType;
+ isProfileView: boolean;
+ };
};
export const ProfileStack = createStackNavigator<ProfileStackParams>();