diff --git a/docs/platforms/react-native/manual-setup/metro.mdx b/docs/platforms/react-native/manual-setup/metro.mdx index 88298e056733f..c2c119cfe1e66 100644 --- a/docs/platforms/react-native/manual-setup/metro.mdx +++ b/docs/platforms/react-native/manual-setup/metro.mdx @@ -46,7 +46,7 @@ const { getDefaultConfig, mergeConfig } = require("@react-native/metro-config"); const { withSentryConfig } = require('@sentry/react-native/metro'); const myCustomSerializer = (entryPoint, preModules, graph, options) => { - let bundle = perapreBundle(entryPoint, preModules, graph, options); + let bundle = prepareBundle(entryPoint, preModules, graph, options); if (options.sentryBundleCallback) { // Callback adds Sentry Debug IDs module to the bundle bundle = options.sentryBundleCallback(bundle);