diff --git a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx index 7decea909..c064883b7 100644 --- a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx +++ b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx @@ -71,13 +71,11 @@ const NotificationLookup = ()=>{ } const renderNotificationsList = ()=>{ - if(error) { + if(error) return
{error}
; - } - if(notifications.length === 0) { + if(notifications.length === 0) return
No notifications available.
; - } return ( ); @@ -95,8 +93,9 @@ const NotificationLookup = ()=>{ return (
-

Check all Notifications

{renderNotificationsList()}