1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

close popover on backgroiund click (#20359)

This commit is contained in:
Nidhi Kumari 2023-08-03 10:14:26 +05:30 committed by GitHub
parent 97073e1907
commit d4e33b0d44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -637,7 +637,10 @@ export default class Home extends PureComponent {
/> />
) : null} ) : null}
{newNetworkAddedConfigurationId && ( {newNetworkAddedConfigurationId && (
<Popover className="home__new-network-added"> <Popover
className="home__new-network-added"
onClose={() => clearNewNetworkAdded()}
>
<i className="fa fa-check-circle fa-2x home__new-network-added__check-circle" /> <i className="fa fa-check-circle fa-2x home__new-network-added__check-circle" />
<Text <Text
variant={TextVariant.headingSm} variant={TextVariant.headingSm}