1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Add metricsEvent to contextTypes (#7439)

The metricsEvent context type was missing, resulting in an error when
it was called.
This commit is contained in:
Mark Stacey 2019-11-15 14:04:36 -04:00 committed by GitHub
parent 494ad03176
commit 23ab6e2d54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ export default class SignatureRequest extends PureComponent {
static contextTypes = {
t: PropTypes.func,
metricsEvent: PropTypes.func,
}
componentDidMount () {