diff options
| author | Ivan Chen <ivan@thetaggid.com> | 2021-01-14 14:06:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-14 14:06:07 -0500 |
| commit | 007dcc5c836f1b368042c530d22f5421610efb7c (patch) | |
| tree | 9ea1254dcaa1c5b0ff1753a9da2c80b93be84860 /src/screens/profile | |
| parent | 82476e27fe6f5dc699370659d223dcd86fd5c76b (diff) | |
created navigation to comment from notification (#184)
Diffstat (limited to 'src/screens/profile')
| -rw-r--r-- | src/screens/profile/IndividualMoment.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
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<IndividualMomentProps> = ({ 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, ); |
