diff options
Diffstat (limited to 'old-ui/app/components/app-bar.js')
-rw-r--r-- | old-ui/app/components/app-bar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/old-ui/app/components/app-bar.js b/old-ui/app/components/app-bar.js index 4dfedc633..e65f942ae 100644 --- a/old-ui/app/components/app-bar.js +++ b/old-ui/app/components/app-bar.js @@ -81,8 +81,8 @@ module.exports = class AppBar extends Component { 'Try the New MetaMask', AppBar.renderSpace(), h('span.banner__link', { - onClick () { - dispatch(actions.setFeatureFlag('betaUI', true, 'BETA_UI_NOTIFICATION_MODAL')) + async onClick () { + await dispatch(actions.setFeatureFlag('betaUI', true, 'BETA_UI_NOTIFICATION_MODAL')) }, }, [ 'Now', |