Skip to content

Commit

Permalink
chore: cherry-pick #11595 (#11683)
Browse files Browse the repository at this point in the history
This PR cherry-picks #11595

Co-authored-by: Mpendulo Ndlovu <mpendulo@elefantel.com>
Co-authored-by: Nico MASSART <NicolasMassart@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 8, 2024
1 parent 22d1a59 commit 06cf1b6
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,21 @@ class SignatureRequest extends PureComponent {
return createStyles(colors);
};

componentDidMount = () => {
const { currentPageInformation, type, fromAddress } = this.props;

this.props.metrics.trackEvent(
MetaMetricsEvents.SIGNATURE_REQUESTED,
getAnalyticsParams(
{
currentPageInformation,
from: fromAddress,
},
type,
),
);
};

renderActionViewChildren = () => {
const {
children,
Expand Down

0 comments on commit 06cf1b6

Please sign in to comment.