Skip to content

Commit

Permalink
adds the sentry init and imports the components
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilrieger committed Mar 9, 2023
1 parent 15c1a17 commit 1476cd4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@
* JSX is not standard js so it's recommended that an app's entry point be a .js file
* https://stackoverflow.com/a/60234368/8079848
*/
import { Integrations } from "@sentry/tracing";
import * as Sentry from "@sentry/react";

import './assets/theme/global.scss'
import './assets/fontawesome.js'

export * from './components'
export * from './compounds'

Sentry.init({
dsn: process.env.SENTRY_DSN,
integrations: [
new Integrations.BrowserTracing(),
],
tracesSampleRate: 1.0,
});

0 comments on commit 1476cd4

Please sign in to comment.