fix connection issue with sollet.io popup
This commit is contained in:
parent
3cdab1cc42
commit
61b17cbe6c
|
@ -115,7 +115,7 @@ function ConnectionsListItem({ origin, connectedWallet }) {
|
|||
src={iconUrl}
|
||||
onError={() => setIconUrl(faviconUrl)}
|
||||
className={classes.listItemImage}
|
||||
alt={origin}
|
||||
alt=""
|
||||
/>
|
||||
</div>
|
||||
</ListItemIcon>
|
||||
|
|
|
@ -147,7 +147,7 @@ export default function PopupPage({ opener }) {
|
|||
const request = requests[0];
|
||||
const popRequest = () => setRequests((requests) => requests.slice(1));
|
||||
|
||||
if (requests.length === 0) {
|
||||
if (hasConnectedAccount && requests.length === 0) {
|
||||
if (isExtension) {
|
||||
window.close();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue