From 233c1c21c164aea97c5ff37d1d2d88a3534adf70 Mon Sep 17 00:00:00 2001 From: Jordan Ribbink Date: Mon, 16 Dec 2024 15:34:50 -0800 Subject: [PATCH] fix syntax --- components/views/ConnectExtension.tsx | 5 ++++- components/views/ScanConnect/ScanConnectDesktop.tsx | 5 ++++- components/views/ScanConnect/ScanConnectMobile.tsx | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/components/views/ConnectExtension.tsx b/components/views/ConnectExtension.tsx index 7bed932..cfaaa35 100644 --- a/components/views/ConnectExtension.tsx +++ b/components/views/ConnectExtension.tsx @@ -29,7 +29,10 @@ export default function ConnectExtension({ wallet }: ConnectExtensionProps) { rpc .request(FclRequest.EXEC_SERVICE, { service }) .then(() => { - telemetry.trackWalletConnected(wallet.uid, FCL_SERVICE_METHODS.EXT) + telemetry.trackWalletConnected({ + walletUid: wallet.uid, + serviceMethod: FCL_SERVICE_METHODS.WC, + }) setLastUsed(wallet) handleCancel() }) diff --git a/components/views/ScanConnect/ScanConnectDesktop.tsx b/components/views/ScanConnect/ScanConnectDesktop.tsx index 2f7c40c..4fdd17e 100644 --- a/components/views/ScanConnect/ScanConnectDesktop.tsx +++ b/components/views/ScanConnect/ScanConnectDesktop.tsx @@ -22,7 +22,10 @@ export default function ScanConnectDesktop({ const { setLastUsed } = useWalletHistory() const telemetry = useTelemetry() const { uri, connecting, error, isLoading } = useWcUri(() => { - telemetry.trackWalletConnected(wallet.uid, FCL_SERVICE_METHODS.WC) + telemetry.trackWalletConnected({ + walletUid: wallet.uid, + serviceMethod: FCL_SERVICE_METHODS.WC, + }) setLastUsed(wallet) handleCancel() }) diff --git a/components/views/ScanConnect/ScanConnectMobile.tsx b/components/views/ScanConnect/ScanConnectMobile.tsx index 33b2372..8bdc34e 100644 --- a/components/views/ScanConnect/ScanConnectMobile.tsx +++ b/components/views/ScanConnect/ScanConnectMobile.tsx @@ -24,7 +24,10 @@ export default function ScanConnectMobile({ const { setLastUsed } = useWalletHistory() const telemetry = useTelemetry() const { uri, connecting, error, isLoading } = useWcUri(() => { - telemetry.trackWalletConnected(wallet.uid, FCL_SERVICE_METHODS.WC) + telemetry.trackWalletConnected({ + walletUid: wallet.uid, + serviceMethod: FCL_SERVICE_METHODS.WC, + }) setLastUsed(wallet) handleCancel() })