From 04a8bd87520a8dd9a731ec5911ff9c710cf3b9a9 Mon Sep 17 00:00:00 2001 From: Rishichandra Wawhal Date: Fri, 26 Aug 2022 00:55:18 +0530 Subject: [PATCH] console: improve heap function name to add user properties PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5637 GitOrigin-RevId: 756c206f7d864da4f8fd6415f9b35c30335e0848 --- console/src/features/AnalyticsToolsUtils/heap.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/features/AnalyticsToolsUtils/heap.ts b/console/src/features/AnalyticsToolsUtils/heap.ts index 6ca0aaff1dc..da115d338d3 100644 --- a/console/src/features/AnalyticsToolsUtils/heap.ts +++ b/console/src/features/AnalyticsToolsUtils/heap.ts @@ -3,7 +3,7 @@ * Currently only implements `addUserProperties`. More functions: identify, track etc can be added */ export const heap = { - addHeapUserProperties: (props: Record) => { + addUserProperties: (props: Record) => { window.heap?.addUserProperties(props); }, };