diff options
Diffstat (limited to 'apps/web/lib')
| -rw-r--r-- | apps/web/lib/analytics.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/web/lib/analytics.ts b/apps/web/lib/analytics.ts index 9bc3b7f5..84eda62b 100644 --- a/apps/web/lib/analytics.ts +++ b/apps/web/lib/analytics.ts @@ -1,7 +1,10 @@ import posthog from "posthog-js" // Helper function to safely capture events -const safeCapture = (eventName: string, properties?: Record<string, unknown>) => { +const safeCapture = ( + eventName: string, + properties?: Record<string, unknown>, +) => { if (posthog.__loaded) { posthog.capture(eventName, properties) } |