We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15c1a17 + 1476cd4 commit 7bf8848Copy full SHA for 7bf8848
src/index.js
@@ -2,9 +2,19 @@
2
* JSX is not standard js so it's recommended that an app's entry point be a .js file
3
* https://stackoverflow.com/a/60234368/8079848
4
*/
5
+import { Integrations } from "@sentry/tracing";
6
+import * as Sentry from "@sentry/react";
7
8
import './assets/theme/global.scss'
9
import './assets/fontawesome.js'
10
11
export * from './components'
12
export * from './compounds'
13
+
14
+Sentry.init({
15
+ dsn: process.env.SENTRY_DSN,
16
+ integrations: [
17
+ new Integrations.BrowserTracing(),
18
+ ],
19
+ tracesSampleRate: 1.0,
20
+});
0 commit comments