diff --git a/docs/platforms/react-native/migration/v5-to-v6.mdx b/docs/platforms/react-native/migration/v5-to-v6.mdx index 688c878db8e7e..0fa6d881a7234 100644 --- a/docs/platforms/react-native/migration/v5-to-v6.mdx +++ b/docs/platforms/react-native/migration/v5-to-v6.mdx @@ -226,7 +226,7 @@ Sentry.init({ - new Sentry.ReactNativeTracing({ - idleTimeout: 1_000, - maxTransactionDuration: 5_000, -+ Sentry.reactNativeTracing({ ++ Sentry.reactNativeTracingIntegration({ + idleTimeoutMs: 1_000, + finalTimeoutMs: 5_000, }),