fix liniting issues

This commit is contained in:
msukkari 2024-09-19 13:32:40 -07:00
parent 03fc50afd2
commit cf479de5b1
2 changed files with 1 additions and 1 deletions

View file

@ -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"] });

View file

@ -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<string, any>, _event: string) => {
// https://posthog.com/docs/libraries/js#config
if (properties['$current_url']) {