From cf479de5b1199fd104e3cf7e283886580f65daa9 Mon Sep 17 00:00:00 2001 From: msukkari Date: Thu, 19 Sep 2024 13:32:40 -0700 Subject: [PATCH] fix liniting issues --- src/app/layout.tsx | 1 - src/app/posthogProvider.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c807ad82..fb1f6ac3 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -5,7 +5,6 @@ import { ThemeProvider } from "next-themes"; import { Suspense } from "react"; import { QueryClientProvider } from "./queryClientProvider"; import { PHProvider } from "./posthogProvider"; -import dynamic from "next/dynamic"; const inter = Inter({ subsets: ["latin"] }); diff --git a/src/app/posthogProvider.tsx b/src/app/posthogProvider.tsx index 8c146ae2..c45736ab 100644 --- a/src/app/posthogProvider.tsx +++ b/src/app/posthogProvider.tsx @@ -11,6 +11,7 @@ if (typeof window !== 'undefined') { person_profiles: 'identified_only', capture_pageview: false, // Disable automatic pageview capture autocapture: false, // Disable automatic event capture + // eslint-disable-next-line @typescript-eslint/no-explicit-any sanitize_properties: (properties: Record, _event: string) => { // https://posthog.com/docs/libraries/js#config if (properties['$current_url']) {