From f8ba0cc604550921b6bc393515742c08db17722b Mon Sep 17 00:00:00 2001 From: Alexandre Chabrolin <9203826+chabroA@users.noreply.github.com> Date: Thu, 17 Aug 2023 12:26:47 +0200 Subject: [PATCH] Fix tracking on evm following update on ethereum cf. https://github.com/LedgerHQ/ledger-live/pull/4073 --- .../families/evm/StakeFlowModal/utils/getTrackProperties.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ledger-live-desktop/src/renderer/families/evm/StakeFlowModal/utils/getTrackProperties.ts b/apps/ledger-live-desktop/src/renderer/families/evm/StakeFlowModal/utils/getTrackProperties.ts index 1e256a46fe1a..0911256c5aa3 100644 --- a/apps/ledger-live-desktop/src/renderer/families/evm/StakeFlowModal/utils/getTrackProperties.ts +++ b/apps/ledger-live-desktop/src/renderer/families/evm/StakeFlowModal/utils/getTrackProperties.ts @@ -5,7 +5,7 @@ type Props = { export function getTrackProperties({ value, modal = "stake" }: Props) { return { - page: window.location.hash + path: window.location.hash .split("/") .filter(e => e !== "#") .join("/"),