Skip to content

Commit ec00a3b

Browse files
committed
fix PR reviews
1 parent fc9e0ff commit ec00a3b

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
@@ -188,7 +188,7 @@ import * as Sentry from '@sentry/browser';
188188
Sentry.init({
189189
integrations: [
190190
// Instead of
191-
Sentry.replayIntegration(),
191+
new Sentry.Replay(),
192192
new Sentry.Feedback(),
193193
// Use the functional replacement:
194194
Sentry.replayIntegration(),
@@ -258,7 +258,7 @@ Just add it _in addition_ to the regular replay integration:
258258

259259
```js
260260
Sentry.init({
261-
integrations: [Sentry.replayIntegration(), new Sentry.ReplayCanvas()],
261+
integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()],
262262
});
263263
```
264264

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)