Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: disable sentry for now

thecodrrcd634910960d
diff --git a/apps/web/src/index.js b/apps/web/src/index.js
index cb1c0403b..ff729009f 100644
--- a/apps/web/src/index.js
+++ b/apps/web/src/index.js
@@ -3,8 +3,8 @@ import "react-app-polyfill/ie9";
import "./utils/dimensions";
import React from "react";
import ReactDOM from "react-dom";
-import * as Sentry from "@sentry/react";
-import { Integrations } from "@sentry/tracing";
+//import * as Sentry from "@sentry/react";
+//import { Integrations } from "@sentry/tracing";
import "./index.css";
import App from "./App";
import * as serviceWorker from "./serviceWorker";
@@ -12,20 +12,20 @@ import Modal from "react-modal";
import { MotionConfig, AnimationFeature, GesturesFeature } from "framer-motion";
import Splash from "./views/splash";
-Sentry.init({
- dsn:
- "https://[email protected]/5520885",
- integrations: [new Integrations.BrowserTracing()],
- beforeSend: (event) => {
- if (event.exception || event.extra.report === true) {
- Sentry.showReportDialog();
- }
- return event;
- },
- // We recommend adjusting this value in production, or using tracesSampler
- // for finer control
- tracesSampleRate: 1.0,
-});
+// Sentry.init({
+// dsn:
+// "https://[email protected]/5520885",
+// integrations: [new Integrations.BrowserTracing()],
+// beforeSend: (event) => {
+// if (event.exception || event.extra.report === true) {
+// Sentry.showReportDialog();
+// }
+// return event;
+// },
+// // We recommend adjusting this value in production, or using tracesSampler
+// // for finer control
+// tracesSampleRate: 1.0,
+// });
Modal.setAppElement("#root");
ReactDOM.render(