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