From 767e2229f85c30d475e8cfe57d42d0b56da334f4 Mon Sep 17 00:00:00 2001 From: Palak Date: Sat, 29 Jul 2023 21:41:43 +0530 Subject: [PATCH] Fix name highlight on notification page --- src/components/Notification/index.jsx | 11 +++++++---- src/pages/Profile/index.jsx | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/Notification/index.jsx b/src/components/Notification/index.jsx index 94782b282..1a5e31534 100644 --- a/src/components/Notification/index.jsx +++ b/src/components/Notification/index.jsx @@ -71,11 +71,14 @@ function Notifications() {

- {notification.message} - + {notification.message} from{" "} + {notification.senderName - ? ` from ${notification.senderName}.` - : ""} + ? notification.senderName + : ""}.