Skip to content

Commit

Permalink
ref(rr6): Remove unused param (#79379)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser authored Oct 18, 2024
1 parent 288ca93 commit 034215a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions static/app/bootstrap/initializeSdk.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,13 @@ function getSentryIntegrations() {
return integrations;
}

// TODO(__SENTRY_USING_REACT_ROUTER_SIX): Remove opts once getsentry has had
// this paramter removed
/**
* Initialize the Sentry SDK
*
* If `routes` is passed, we will instrument react-router. Not all
* entrypoints require this.
*/
export function initializeSdk(config: Config, _otps?: any) {
export function initializeSdk(config: Config) {
const {apmSampling, sentryConfig, userIdentity} = config;
const tracesSampleRate = apmSampling ?? 0;
const extraTracePropagationTargets = SPA_DSN
Expand Down

0 comments on commit 034215a

Please sign in to comment.