From 6c42a7e180adad46a7a64bf19598b1bd9716f1c4 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 18 Sep 2024 15:34:58 -0400 Subject: [PATCH 1/2] Lint --- .../notificationLookup/notificationLookup.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx index 1186cce7a..8fa17be61 100644 --- a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx +++ b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx @@ -91,8 +91,8 @@ const NotificationLookup = ()=>{
{notification.title || 'No Title'} -
- + + ))} ); From a7c892c1bbdaf50e4317dae52941453e4826bbeb Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 18 Sep 2024 15:36:48 -0400 Subject: [PATCH 2/2] Lint --- .../notificationLookup/notificationLookup.jsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx index 8fa17be61..3c129d886 100644 --- a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx +++ b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx @@ -76,13 +76,11 @@ const NotificationLookup = ()=>{ } const renderNotificationsList = ()=>{ - if(error) { + if(error) return
{error}
; - } - if(notifications.length === 0) { + if(notifications.length === 0) return
No notifications available.
; - } return (