mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
UX: Avoid Popover Footer when No Connected Sites (#20036)
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
This commit is contained in:
parent
4dcde1e216
commit
343cde9091
@ -64,7 +64,11 @@ export default class ConnectedAccounts extends PureComponent {
|
||||
}
|
||||
onClose={() => history.push(mostRecentOverviewPage)}
|
||||
footerClassName="connected-accounts__footer"
|
||||
footer={<ConnectedAccountsPermissions permissions={permissions} />}
|
||||
footer={
|
||||
connectedAccounts.length ? (
|
||||
<ConnectedAccountsPermissions permissions={permissions} />
|
||||
) : null
|
||||
}
|
||||
>
|
||||
<ConnectedAccountsList
|
||||
accountToConnect={accountToConnect}
|
||||
|
Loading…
Reference in New Issue
Block a user