feat: replace sentry with posthog

This commit is contained in:
2026-04-11 15:38:10 +07:00 Unverified
parent 46d4bf0119
commit 6247f98b6a
29 changed files with 1644 additions and 702 deletions
-22
View File
@@ -1,22 +0,0 @@
"use client";
import { useSentryToolbar } from "@sentry/toolbar";
import { shared } from "@/lib/comms";
export function SentryDevToolbar() {
const [debug] = shared.state("debug");
useSentryToolbar({
// Remember to conditionally enable the Toolbar.
// This will reduce network traffic for users
// who do not have credentials to login to Sentry.
enabled: debug === true,
initProps: {
organizationSlug: "astrxldev",
projectIdOrSlug: "buzz",
theme: "dark",
},
});
return "";
}