diff --git a/bun.lockb b/bun.lockb
index 789ed7b..4a6ab78 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/package.json b/package.json
index a175536..4e2102d 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
"@t3-oss/env-nextjs": "^0.11.0",
"@tanstack/eslint-plugin-query": "^5.43.1",
"@tanstack/react-query": "^5.45.0",
- "@tanstack/react-query-devtools": "^5.50.1",
+ "@tanstack/react-query-devtools": "^5.51.23",
"@tanstack/react-table": "^8.19.2",
"@vercel/postgres": "^0.9.0",
"class-variance-authority": "^0.7.0",
diff --git a/src/app/@modal/(.)paperless/document/[id]/page.tsx b/src/app/@modal/(.)paperless/document/[id]/page.tsx
deleted file mode 100644
index 6215b79..0000000
--- a/src/app/@modal/(.)paperless/document/[id]/page.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import DocumentPreview from "@/components/document-preview";
-import { Modal } from "@/components/modal";
-
-export default function ModalDocumentPage({
- params,
-}: {
- params: { id: number };
-}) {
- return (
-
-
-
- );
-}
diff --git a/src/app/_analytics/provider.tsx b/src/app/_analytics/provider.tsx
deleted file mode 100644
index 13dcf18..0000000
--- a/src/app/_analytics/provider.tsx
+++ /dev/null
@@ -1,38 +0,0 @@
-"use client";
-import { useAuth, useUser } from "@clerk/nextjs";
-import posthog from "posthog-js";
-import { PostHogProvider } from "posthog-js/react";
-import { useEffect } from "react";
-
-if (typeof window !== "undefined") {
- posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
- api_host: "/ingest",
- ui_host: "https://app.posthog.com",
- });
-}
-
-export function CSPostHogProvider({ children }: { children: React.ReactNode }) {
- return (
-
- {children}
-
- );
-}
-
-function PostHogAuthWrapper({ children }: { children: React.ReactNode }) {
- const auth = useAuth();
- const userInfo = useUser();
-
- useEffect(() => {
- if (userInfo.user) {
- posthog.identify(userInfo.user.id, {
- email: userInfo.user.emailAddresses[0]?.emailAddress,
- name: userInfo.user.fullName,
- });
- } else if (!auth.isSignedIn) {
- posthog.reset();
- }
- }, [auth, userInfo]);
-
- return children;
-}
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index d17459a..17fd712 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -6,7 +6,6 @@ import { ClerkProvider } from "@clerk/nextjs";
import { ThemeProvider } from "@/components/theme-provider";
import { cn } from "@/lib/utils";
import { dark } from "@clerk/themes";
-import { CSPostHogProvider } from "@/app/_analytics/provider";
export const metadata = {
title: "Homelab Connector",
@@ -27,7 +26,6 @@ export default function RootLayout({
baseTheme: dark,
}}
>
-