1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

updated onClick of close button to call the same autohide fxn as the NFT import removal (#18504)

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
This commit is contained in:
dswilson4 2023-04-17 07:13:00 -07:00 committed by GitHub
parent 47f4f4008b
commit ca10a1cdb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -357,6 +357,7 @@ export default class Home extends PureComponent {
iconName={ICON_NAMES.CLOSE} iconName={ICON_NAMES.CLOSE}
size={ICON_SIZES.SM} size={ICON_SIZES.SM}
ariaLabel={t('close')} ariaLabel={t('close')}
onClick={onAutoHide}
/> />
</Box> </Box>
} }