Skip to content

Commit

Permalink
Add metricsEvent to contextTypes (#7439)
Browse files Browse the repository at this point in the history
The metricsEvent context type was missing, resulting in an error when
it was called.
  • Loading branch information
Gudahtt authored Nov 15, 2019
1 parent 494ad03 commit 23ab6e2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default class SignatureRequest extends PureComponent {

static contextTypes = {
t: PropTypes.func,
metricsEvent: PropTypes.func,
}

componentDidMount () {
Expand Down

0 comments on commit 23ab6e2

Please sign in to comment.