1
0
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:
Erik Marks 2020-06-10 17:35:16 -07:00
parent 3eb33ef492
commit 12d2315f18

View File

@ -160,9 +160,6 @@ export default class PermissionConnect extends Component {
if (requestId) {
await rejectPermissionsRequest(requestId)
if (getEnvironmentType() === ENVIRONMENT_TYPE_NOTIFICATION) {
window.close()
}
}
}