Skip to content

Commit

Permalink
fix :: env error
Browse files Browse the repository at this point in the history
  • Loading branch information
ftery0 committed Oct 31, 2024
1 parent 1abcc71 commit 94e296a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import ReactDOM from "react-dom/client";
import Root from "./Root";
import * as Sentry from "@sentry/react";
import config from "./config/config.json";
// import * as Sentry from "@sentry/react";
// import config from "./config/config.json";

Sentry.init({
dsn: config.SENTRY_DSN,
environment: process.env.NODE_ENV,
integrations: [new Sentry.BrowserTracing(), new Sentry.Replay()],
tracesSampleRate: 1.0,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
});
// Sentry.init({
// dsn: config.SENTRY_DSN,
// environment: process.env.NODE_ENV,
// integrations: [new Sentry.BrowserTracing(), new Sentry.Replay()],
// tracesSampleRate: 1.0,
// replaysSessionSampleRate: 0.1,
// replaysOnErrorSampleRate: 1.0,
// });

const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement
Expand Down

0 comments on commit 94e296a

Please sign in to comment.