console: improve heap function name to add user properties

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5637
GitOrigin-RevId: 756c206f7d864da4f8fd6415f9b35c30335e0848
This commit is contained in:
Rishichandra Wawhal 2022-08-26 00:55:18 +05:30 committed by hasura-bot
parent 84fd5910b0
commit 04a8bd8752

View File

@ -3,7 +3,7 @@
* Currently only implements `addUserProperties`. More functions: identify, track etc can be added
*/
export const heap = {
addHeapUserProperties: (props: Record<string, string>) => {
addUserProperties: (props: Record<string, string>) => {
window.heap?.addUserProperties(props);
},
};