fixed main-button

This commit is contained in:
Mushka Nikita 2023-04-25 13:12:14 +03:00
parent 194e49efde
commit e6f2982dc3

View File

@ -405,13 +405,12 @@ const MainButtonMobile = (props) => {
children
)}
</StyledDropDown>
{alert && !isOpen && (
<StyledAlertIcon>
{alert && !isOpen ? (
<StyledButtonAlertIcon onClick={onAlertClickAction} size="medium" />
) : (
<></>
)}
</StyledAlertIcon>
)}
</div>
</>
);