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 (