mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-01 21:42:44 +00:00
Return if no notifications
This commit is contained in:
@@ -49,6 +49,7 @@ const NotificationPopup = ()=>{
|
|||||||
));
|
));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if(!notifications.length) return;
|
||||||
return <Dialog className='notificationPopup' dismisskeys={dissmissKeyList} closeText={DISMISS_BUTTON} >
|
return <Dialog className='notificationPopup' dismisskeys={dissmissKeyList} closeText={DISMISS_BUTTON} >
|
||||||
<div className='header'>
|
<div className='header'>
|
||||||
<i className='fas fa-info-circle info'></i>
|
<i className='fas fa-info-circle info'></i>
|
||||||
|
|||||||
Reference in New Issue
Block a user