Skip to content

Commit db9fe9a

Browse files
committed
react(getting-started): fix MDX – close OnboardingOption tags and complete Step 6 code
1 parent b5b915a commit db9fe9a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/platforms/javascript/guides/react/getting-started.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,7 @@ import * as Sentry from "@sentry/react";
157157
Alternatively, if you're using a class component, you can wrap your application
158158
with `Sentry.withErrorBoundary`. Find out more
159159
[here](features/error-boundary/#manually-capturing-errors).
160-
</Alert>
161-
162-
<OnboardingOption optionId="performance">
160+
</Alert>
163161

164162
<OnboardingOption optionId="logs">
165163

@@ -229,6 +227,8 @@ Sentry.init({
229227

230228
</OnboardingOption>
231229

230+
<OnboardingOption optionId="performance">
231+
232232
## Step 6: Custom Traces with Attributes
233233

234234
[Tracing](/platforms/javascript/guides/react/tracing/) allows you to monitor interactions between multiple services or applications. Create custom spans to measure specific operations and add meaningful attributes. This helps you understand performance bottlenecks and debug issues with detailed context.
@@ -281,6 +281,8 @@ if (span) {
281281
}
282282
```
283283

284+
</OnboardingOption>
285+
284286
## Step 7: Avoid Ad Blockers With Tunneling (Optional)
285287

286288
<PlatformContent includePath="getting-started-tunneling" />
@@ -354,4 +356,3 @@ To capture Redux state data, use `Sentry.createReduxEnhancer` when initializing
354356
- [Get support](https://sentry.zendesk.com/hc/en-us/)
355357

356358
</Expandable>
357-

0 commit comments

Comments
 (0)