diff --git a/web/lib/service/analytics.ts b/web/lib/service/analytics.ts index e76e0b7f..ec0a4dd0 100644 --- a/web/lib/service/analytics.ts +++ b/web/lib/service/analytics.ts @@ -21,7 +21,7 @@ try { // @ts-expect-error Sprig doesn't yet have a native typescript snippet window.Sprig = function(...args){S._queue.push(args)} // @ts-expect-error Sprig doesn't yet have a native typescript snippet - var S = window.Sprig;S.appId = a;S._queue = [];window.UserLeap=S + const S = window.Sprig;S.appId = a;S._queue = [];window.UserLeap=S // @ts-expect-error Sprig doesn't yet have a native typescript snippet a=l.createElement('script') // @ts-expect-error Sprig doesn't yet have a native typescript snippet