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 children
)} )}
</StyledDropDown> </StyledDropDown>
{alert && !isOpen && (
<StyledAlertIcon> <StyledAlertIcon>
{alert && !isOpen ? (
<StyledButtonAlertIcon onClick={onAlertClickAction} size="medium" /> <StyledButtonAlertIcon onClick={onAlertClickAction} size="medium" />
) : (
<></>
)}
</StyledAlertIcon> </StyledAlertIcon>
)}
</div> </div>
</> </>
); );