diff --git a/ui/app/components/app/provider-page-container/provider-page-container.component.js b/ui/app/components/app/provider-page-container/provider-page-container.component.js index a0a2a7ac4..7d152e4cb 100644 --- a/ui/app/components/app/provider-page-container/provider-page-container.component.js +++ b/ui/app/components/app/provider-page-container/provider-page-container.component.js @@ -34,7 +34,7 @@ export default class ProviderPageContainer extends PureComponent { }) } - _beforeUnload () { + _beforeUnload = () => { const { origin, rejectProviderRequestByOrigin } = this.props this.context.metricsEvent({ eventOpts: {