From 23ab6e2d544d1879882214c97a96defc2128fb57 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Fri, 15 Nov 2019 14:04:36 -0400 Subject: [PATCH] Add metricsEvent to contextTypes (#7439) The metricsEvent context type was missing, resulting in an error when it was called. --- .../app/signature-request/signature-request.component.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/components/app/signature-request/signature-request.component.js b/ui/app/components/app/signature-request/signature-request.component.js index 81befa1c9..b108c02c4 100644 --- a/ui/app/components/app/signature-request/signature-request.component.js +++ b/ui/app/components/app/signature-request/signature-request.component.js @@ -23,6 +23,7 @@ export default class SignatureRequest extends PureComponent { static contextTypes = { t: PropTypes.func, + metricsEvent: PropTypes.func, } componentDidMount () {