From 007dcc5c836f1b368042c530d22f5421610efb7c Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 14 Jan 2021 14:06:07 -0500 Subject: created navigation to comment from notification (#184) --- src/screens/profile/IndividualMoment.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/screens/profile') diff --git a/src/screens/profile/IndividualMoment.tsx b/src/screens/profile/IndividualMoment.tsx index f13e1295..9e6704d1 100644 --- a/src/screens/profile/IndividualMoment.tsx +++ b/src/screens/profile/IndividualMoment.tsx @@ -36,8 +36,7 @@ const IndividualMoment: React.FC = ({ route, navigation, }) => { - const {moment_category, moment_id} = route.params.moment; - const {userXId, screenType} = route.params; + const {moment_category, moment_id, userXId, screenType} = route.params.moment; const {username: loggedInUsername} = useSelector( (state: RootState) => state.user.user, ); -- cgit v1.2.3-70-g09d2