File tree Expand file tree Collapse file tree 3 files changed +1060
-1008
lines changed Expand file tree Collapse file tree 3 files changed +1060
-1008
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,6 @@ import {
18
18
ABOUT_US_TITLE ,
19
19
APP_TITLE ,
20
20
} from '../utils'
21
- import { Integrations } from '@sentry/tracing'
22
- import * as Sentry from '@sentry/react'
23
-
24
- Sentry . init ( {
25
- dsn : process . env . SENTRY_DSN ,
26
- integrations : [
27
- new Integrations . BrowserTracing ( ) ,
28
- ] ,
29
- tracesSampleRate : 1.0 ,
30
- } ) ;
31
21
32
22
const Home = ( ) => {
33
23
const router = useRouter ( )
Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
+ import { Integrations } from '@sentry/tracing'
3
+ import * as Sentry from '@sentry/react'
2
4
import { useSession } from 'next-auth/react'
3
5
import { useRouter } from 'next/router'
4
6
import {
@@ -15,6 +17,14 @@ import {
15
17
useAllRequests
16
18
} from '../../utils'
17
19
20
+ Sentry . init ( {
21
+ dsn : process . env . SENTRY_DSN ,
22
+ integrations : [
23
+ new Integrations . BrowserTracing ( ) ,
24
+ ] ,
25
+ tracesSampleRate : 1.0 ,
26
+ } ) ;
27
+
18
28
const Requests = ( ) => {
19
29
const router = useRouter ( )
20
30
const { data : session } = useSession ( )
You can’t perform that action at this time.
0 commit comments