diff --git a/src/platform-includes/enriching-events/user-feedback/sdk-api-example/react-native.mdx b/src/platform-includes/enriching-events/user-feedback/sdk-api-example/react-native.mdx index bc9bd3eec8b75..055b943fc4011 100644 --- a/src/platform-includes/enriching-events/user-feedback/sdk-api-example/react-native.mdx +++ b/src/platform-includes/enriching-events/user-feedback/sdk-api-example/react-native.mdx @@ -3,6 +3,7 @@ import * as Sentry from '@sentry/react-native'; import { UserFeedback } from '@sentry/react-native'; const sentryId = Sentry.captureMessage('My Message'); +// OR: const sentryId = Sentry.lastEventId(); const userFeedback: UserFeedback = { event_id: sentryId,