diff options
author | Ashm Walia <ashmwalia@outlook.com> | 2021-02-04 10:40:10 -0800 |
---|---|---|
committer | Ashm Walia <ashmwalia@outlook.com> | 2021-02-04 10:40:10 -0800 |
commit | cb6fb946a230fc8d6328533ccb0c952260c75853 (patch) | |
tree | 8b70fac1e829916f3f722bf792be1a5f4e09d3cd /src/components/notifications/Notification.tsx | |
parent | c1775f31b218a9c9b804de77e6ce6c1e95e968d9 (diff) |
remove code
Diffstat (limited to 'src/components/notifications/Notification.tsx')
-rw-r--r-- | src/components/notifications/Notification.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx index 64454bfc..c2c6c4e4 100644 --- a/src/components/notifications/Notification.tsx +++ b/src/components/notifications/Notification.tsx @@ -151,20 +151,19 @@ const Notification: React.FC<NotificationProps> = (props) => { //STEP 3 if (moment) { - //Now if moment was found, navigate to the respective moment if (reply) { dispatch(updateReplyPosted(reply)); } navigation.push('IndividualMoment', { moment, - userXId, // we're only viewing our own moment here + userXId, screenType, }); setTimeout(() => { navigation.push('MomentCommentsScreen', { - moment_id: moment_id, + moment_id, screenType, - comment_id: comment_id, + comment_id, }); }, 500); } |