From d5efaf3236c112471d92dc5dfb87b8033243cc6d Mon Sep 17 00:00:00 2001 From: "Sergio A. Trejo" Date: Mon, 25 Mar 2024 23:25:45 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=A9=B9=20env=20type=20to=20string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/_app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index fb4d800..b21553a 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -19,7 +19,7 @@ import 'styles/globals.css'; if (typeof window !== 'undefined') { // checks that we are client-side - posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, { + posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY as string, { api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://app.posthog.com', loaded: (posthog) => { if (process.env.NODE_ENV === 'development') posthog.debug(); // debug mode in development