From a5186c7cf5b44b27451062f466c01d789e6a40de Mon Sep 17 00:00:00 2001 From: TeamAbronDev Date: Mon, 27 Jan 2025 11:26:24 +0330 Subject: [PATCH] used env --- src/lib/ErrorBoundary.tsx | 2 +- src/sentry.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ErrorBoundary.tsx b/src/lib/ErrorBoundary.tsx index 4f430517..22bbc4ff 100644 --- a/src/lib/ErrorBoundary.tsx +++ b/src/lib/ErrorBoundary.tsx @@ -101,7 +101,7 @@ export default function ErrorBoundary({ children, section }: Props) { )}

-
Revolt has crashed. Here's the error:
+
Pepchat has crashed. Here's the error:
                     {error?.stack}
                 
diff --git a/src/sentry.tsx b/src/sentry.tsx index 43622605..3e161c99 100644 --- a/src/sentry.tsx +++ b/src/sentry.tsx @@ -2,7 +2,7 @@ import * as Sentry from '@sentry/react'; import { BrowserTracing } from '@sentry/tracing'; Sentry.init({ - dsn: "https://7c72b9e0f3010d15b9a627a22692ce99@o4508001912487936.ingest.us.sentry.io/4508714086301696", + dsn: import.meta.env.VITE_SENTRY_DSN, integrations: [ Sentry.browserTracingIntegration(), Sentry.replayIntegration(),