From b32b371a10620a5fce116f0da2f653b09b69591f Mon Sep 17 00:00:00 2001 From: IlyaDoronin Date: Fri, 10 May 2024 15:02:01 +0300 Subject: [PATCH] fix: bug --- lib/utils/hooks/metrics/useVkMetricsGoals.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/hooks/metrics/useVkMetricsGoals.ts b/lib/utils/hooks/metrics/useVkMetricsGoals.ts index 36231af..d7c6437 100644 --- a/lib/utils/hooks/metrics/useVkMetricsGoals.ts +++ b/lib/utils/hooks/metrics/useVkMetricsGoals.ts @@ -8,11 +8,11 @@ type MetricsGoal = { goal: string; }; -type ExtendedWindow = Window & { _tmp?: MetricsGoal[] }; +type ExtendedWindow = Window & { _tmr?: MetricsGoal[] }; const sendMetrics = (vkPixelId: number | undefined, goal: string) => { if (vkPixelId) { - (window as ExtendedWindow)._tmp?.push({ + (window as ExtendedWindow)._tmr?.push({ type: "reachGoal", id: vkPixelId, goal,