diff --git a/apps/admin-x-settings/src/App.tsx b/apps/admin-x-settings/src/App.tsx index e433891e2a..ae793d2129 100644 --- a/apps/admin-x-settings/src/App.tsx +++ b/apps/admin-x-settings/src/App.tsx @@ -1,4 +1,3 @@ -import * as Sentry from '@sentry/react'; import GlobalDataProvider from './components/providers/GlobalDataProvider'; import MainContent from './MainContent'; import NiceModal from '@ebay/nice-modal-react'; @@ -11,7 +10,6 @@ import {OfficialTheme, ServicesProvider} from './components/providers/ServicePro import {QueryClient, QueryClientProvider} from '@tanstack/react-query'; import {Toaster} from 'react-hot-toast'; import {ZapierTemplate} from './components/settings/advanced/integrations/ZapierModal'; -import {useEffect} from 'react'; interface AppProps { ghostVersion: string; @@ -47,19 +45,6 @@ function App({ghostVersion, officialThemes, zapierTemplates, externalNavigate, t 'admin-x-settings h-[100vh] w-full overflow-y-auto overflow-x-hidden', darkMode && 'dark' ); - - useEffect(() => { - if (sentryDSN) { - Sentry.init({ - dsn: sentryDSN, - release: ghostVersion, - integrations: [ - new Sentry.BrowserTracing({ - }) - ] - }); - } - }, [sentryDSN, ghostVersion]); return (