1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00

Remove unused option (#8315)

This `closePopup` option to the MetamaskController was never used.
This commit is contained in:
Mark Stacey 2020-04-09 20:15:38 -03:00 committed by GitHub
parent b628ff05d1
commit 11c6839b91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,7 +242,6 @@ function setupController (initState, initLangCode) {
showUnapprovedTx: triggerUi,
showPermissionRequest: triggerUi,
openPopup: openPopup,
closePopup: notificationManager.closePopup.bind(notificationManager),
// initial state
initState,
// initial locale code