Skip to content

Commit ea89f4e

Browse files
committed
The Sentry init scrip needs to go in the webstore component library in src/index.js
1 parent 5737cfe commit ea89f4e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pages/requests/index.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import React from 'react'
2-
import { Integrations } from '@sentry/tracing'
3-
import * as Sentry from '@sentry/react'
42
import { useSession } from 'next-auth/react'
53
import { useRouter } from 'next/router'
64
import {
@@ -17,14 +15,6 @@ import {
1715
useAllRequests
1816
} from '../../utils'
1917

20-
Sentry.init({
21-
dsn: process.env.SENTRY_DSN,
22-
integrations: [
23-
new Integrations.BrowserTracing(),
24-
],
25-
tracesSampleRate: 1.0,
26-
});
27-
2818
const Requests = () => {
2919
const router = useRouter()
3020
const { data: session } = useSession()

0 commit comments

Comments
 (0)