Skip to content

Commit

Permalink
fix: correct SENTRY_DSN import
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Dec 6, 2023
1 parent f9d42e4 commit a9c5a83
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,23 @@
*/
import React from 'react';
import * as Sentry from '@sentry/react';

import 'config';

import { createRoot } from 'react-dom/client';
import createStore from 'terrasoApi/store';

import AppWrappers from 'layout/AppWrappers';
import reportWebVitals from 'monitoring/reportWebVitals';
import rules from 'permissions/rules';

import { SENTRY_DSN } from 'config';

import theme from 'theme';

import 'index.css';

import App from 'App';

Sentry.init({
dsn: config.SENTRY_DSN,
dsn: SENTRY_DSN,
integrations: [
new Sentry.BrowserTracing({
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
Expand Down

0 comments on commit a9c5a83

Please sign in to comment.