diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 399e58b0cc6a..2407b39c3908 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -2506,10 +2506,10 @@ export default class MetamaskController extends EventEmitter { } // TODO: Remove once the preferences controller has been replaced with the core monorepo implementation - this.controllerMessenger.publish('PreferencesController:stateChange', [ + this.controllerMessenger.publish( + 'PreferencesController:stateChange', state, - [], - ]); + ); }); this.controllerMessenger.subscribe(