|
@@ -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
|