Skip to content

Commit 812f840

Browse files
committed
fix PR reviews
1 parent 8050f86 commit 812f840

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ import * as Sentry from '@sentry/browser';
531531
Sentry.init({
532532
integrations: [
533533
// Instead of
534-
Sentry.replayIntegration(),
534+
new Sentry.Replay(),
535535
new Sentry.Feedback(),
536536
// Use the functional replacement:
537537
Sentry.replayIntegration(),
@@ -601,7 +601,7 @@ Just add it _in addition_ to the regular replay integration:
601601

602602
```js
603603
Sentry.init({
604-
integrations: [Sentry.replayIntegration(), new Sentry.ReplayCanvas()],
604+
integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()],
605605
});
606606
```
607607

dev-packages/browser-integration-tests/suites/feedback/captureFeedback/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ window.Sentry = Sentry;
44

55
Sentry.init({
66
dsn: 'https://[email protected]/1337',
7-
integrations: [Sentry.feedbackIntegration],
7+
integrations: [Sentry.feedbackIntegration()],
88
});

0 commit comments

Comments
 (0)