Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: posthog env var access (#2057)

dev-rb8da69fef7032
diff --git a/js/app/packages/app/lib/analytics/posthog.tsx b/js/app/packages/app/lib/analytics/posthog.tsx
index 0277b27905..82d9e8cdd9 100644
--- a/js/app/packages/app/lib/analytics/posthog.tsx
+++ b/js/app/packages/app/lib/analytics/posthog.tsx
@@ -16,7 +16,7 @@ export const [PosthogProvider, usePosthog] = createAssertedContextProvider(
const instance = new PostHog();
const initialize = () => {
- const key = import.meta.env.VITE_POSTHOG_KEY;
+ const key = import.meta.env.VITE_POSTHOG_API_KEY;
if (!key) return;