Skip to content

Commit

Permalink
fix(overlay): Only init Sentry SDK on fullscreen (#642)
Browse files Browse the repository at this point in the history
Should fix #641.
  • Loading branch information
BYK authored Dec 17, 2024
1 parent 4c1b619 commit a9c3c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/overlay/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export async function init(options: SpotlightOverlayOptions = {}) {
log('Starting from', initialTab);

// TODO: Shall we enable this for other cases too such as when we use it through Django SDK?
if (isLoadedFromSidecar) {
if (isLoadedFromSidecar && fullPage) {
initSentry(initialTab, { debug });
}

Expand Down

0 comments on commit a9c3c5a

Please sign in to comment.