mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
fix liniting issues
This commit is contained in:
parent
03fc50afd2
commit
cf479de5b1
2 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,6 @@ import { ThemeProvider } from "next-themes";
|
||||||
import { Suspense } from "react";
|
import { Suspense } from "react";
|
||||||
import { QueryClientProvider } from "./queryClientProvider";
|
import { QueryClientProvider } from "./queryClientProvider";
|
||||||
import { PHProvider } from "./posthogProvider";
|
import { PHProvider } from "./posthogProvider";
|
||||||
import dynamic from "next/dynamic";
|
|
||||||
|
|
||||||
const inter = Inter({ subsets: ["latin"] });
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ if (typeof window !== 'undefined') {
|
||||||
person_profiles: 'identified_only',
|
person_profiles: 'identified_only',
|
||||||
capture_pageview: false, // Disable automatic pageview capture
|
capture_pageview: false, // Disable automatic pageview capture
|
||||||
autocapture: false, // Disable automatic event capture
|
autocapture: false, // Disable automatic event capture
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
sanitize_properties: (properties: Record<string, any>, _event: string) => {
|
sanitize_properties: (properties: Record<string, any>, _event: string) => {
|
||||||
// https://posthog.com/docs/libraries/js#config
|
// https://posthog.com/docs/libraries/js#config
|
||||||
if (properties['$current_url']) {
|
if (properties['$current_url']) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue