From e153aefc13822f732b6e973858b6c0c32e4fca05 Mon Sep 17 00:00:00 2001 From: ayeshoali Date: Wed, 12 Jul 2023 17:47:08 +0500 Subject: [PATCH] fix: clicking on notification redirecting to correct URL --- src/Notifications/NotificationRowItem.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Notifications/NotificationRowItem.jsx b/src/Notifications/NotificationRowItem.jsx index 03406ef..049c949 100644 --- a/src/Notifications/NotificationRowItem.jsx +++ b/src/Notifications/NotificationRowItem.jsx @@ -3,7 +3,6 @@ import { useDispatch } from 'react-redux'; import { useIntl } from '@edx/frontend-platform/i18n'; import PropTypes from 'prop-types'; import { Icon } from '@edx/paragon'; -import { Link } from 'react-router-dom'; import * as timeago from 'timeago.js'; import { getIconByType } from './utils'; import { markNotificationsAsRead } from './data/thunks'; @@ -24,12 +23,13 @@ const NotificationRowItem = ({ const { icon: iconComponent, class: iconClass } = getIconByType(type); return ( - - + ); };