Skip to content

Commit 5737cfe

Browse files
committed
Actually add them in the running container not in the Dockerfile - it then updates the yarn.lock file with the additional dependencies
1 parent d3d7dc6 commit 5737cfe

File tree

3 files changed

+1060
-1008
lines changed

3 files changed

+1060
-1008
lines changed

pages/index.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ import {
1818
ABOUT_US_TITLE,
1919
APP_TITLE,
2020
} 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-
});
3121

3222
const Home = () => {
3323
const router = useRouter()

pages/requests/index.js

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

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

0 commit comments

Comments
 (0)