aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications
diff options
context:
space:
mode:
authorAshm Walia <ashmwalia@outlook.com>2021-01-31 02:35:25 -0800
committerAshm Walia <ashmwalia@outlook.com>2021-01-31 02:35:25 -0800
commit69b337ed7c3844cf04a6bd1c0557ba598735f34e (patch)
tree46a880f8acff035041fb107b95f3526c63cab1ff /src/components/notifications
parenta3000926cb26d9ca2afba116d875653783fb622b (diff)
Fixed comments
Diffstat (limited to 'src/components/notifications')
-rw-r--r--src/components/notifications/Notification.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx
index e40153ea..d40c65ed 100644
--- a/src/components/notifications/Notification.tsx
+++ b/src/components/notifications/Notification.tsx
@@ -113,8 +113,6 @@ const Notification: React.FC<NotificationProps> = (props) => {
comment_id = notification_object?.parent_comment?.comment_id;
}
- console.log('Problem');
-
// Now find the moment we need to display
let moment: MomentType | undefined = loggedInUserMoments?.find(
(m) => m.moment_id === moment_id,
@@ -128,7 +126,6 @@ const Notification: React.FC<NotificationProps> = (props) => {
let moments: MomentType[] = [];
try {
if (!userXInStore(state, screenType, id)) {
- console.log('Problem');
const token = await getTokenOrLogout(dispatch);
moments = await loadMoments(id, token);
} else {
@@ -143,7 +140,6 @@ const Notification: React.FC<NotificationProps> = (props) => {
userXId = id;
}
- console.log(moment);
//Now if moment was found, navigate to the respective moment
if (moment) {
if (notification_object?.parent_comment) {