From 33e98269d93a3e4eb0bab2d2b261aa7410519470 Mon Sep 17 00:00:00 2001 From: Manuel Gellfart Date: Thu, 9 Nov 2023 18:17:01 +0100 Subject: [PATCH] chore: add event label to google login button (#2786) * chore: add event label to google login button * fix: additional requested analytics changes --- src/components/common/SocialSigner/index.tsx | 4 +++- src/services/analytics/events/mpcWallet.ts | 7 ++++++- src/services/mpc/SocialWalletService.ts | 6 +++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/components/common/SocialSigner/index.tsx b/src/components/common/SocialSigner/index.tsx index ac30d1e5ca..c7f1138219 100644 --- a/src/components/common/SocialSigner/index.tsx +++ b/src/components/common/SocialSigner/index.tsx @@ -63,6 +63,8 @@ export const SocialSigner = ({ const userInfo = socialWalletService?.getUserInfo() const isDisabled = loginPending || !isMPCLoginEnabled + const isWelcomePage = !!onLogin + const recoverPassword = useCallback( async (password: string, storeDeviceFactor: boolean) => { if (!socialWalletService) return @@ -143,7 +145,7 @@ export const SocialSigner = ({ ) : ( - +