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:
parent
494ad03176
commit
23ab6e2d54
@ -23,6 +23,7 @@ export default class SignatureRequest extends PureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
t: PropTypes.func,
|
||||
metricsEvent: PropTypes.func,
|
||||
}
|
||||
|
||||
componentDidMount () {
|
||||
|
Loading…
Reference in New Issue
Block a user