diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-01-14 19:36:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 19:36:25 -0500 |
commit | e9013ea4d9f44a9f8734d60ac40074e6d82ea736 (patch) | |
tree | f718fa8b38bd2c127d7ba4427af43d782be05be8 | |
parent | ee9ad07d1309b902365dc92357dad2937f62b09d (diff) | |
parent | da112763317af360a011b7ce45871314e4b64a37 (diff) |
Merge pull request #185 from IvanIFChen/hotfix-moment-view
[HOTFIX] Fix Moment View
-rw-r--r-- | src/screens/profile/IndividualMoment.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
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<IndividualMomentProps> = ({ 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, ); |