Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

disable sentry for development

AykutSaraceac23526cae7
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
index cfb7152c..9c9ed4e5 100644
--- a/src/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -9,10 +9,12 @@ import { darkTheme, lightTheme } from "src/constants/theme";
import { useConfig, withConfig } from "src/hocs/config";
import { GoogleAnalytics } from "src/components/GoogleAnalytics";
-Sentry.init({
- dsn: "https://[email protected]/6495191",
- tracesSampleRate: 0.5,
-});
+if (process.env.NODE_ENV !== "development") {
+ Sentry.init({
+ dsn: "https://[email protected]/6495191",
+ tracesSampleRate: 0.5,
+ });
+}
function JsonVisio({ Component, pageProps }: AppProps) {
const { settings } = useConfig();