mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
only close notification in redirectFlow
This commit is contained in:
parent
3eb33ef492
commit
12d2315f18
@ -160,9 +160,6 @@ export default class PermissionConnect extends Component {
|
||||
|
||||
if (requestId) {
|
||||
await rejectPermissionsRequest(requestId)
|
||||
if (getEnvironmentType() === ENVIRONMENT_TYPE_NOTIFICATION) {
|
||||
window.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user