Skip to content

Commit 48e75a2

Browse files
committed
fixes
1 parent c83d8c7 commit 48e75a2

File tree

1 file changed

+3
-7
lines changed
  • docs/platforms/javascript/common

1 file changed

+3
-7
lines changed

docs/platforms/javascript/common/apis.mdx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,7 @@ const status = await Sentry.startSpan({ name: 'my-span' }, async (span) => {
457457
const status = await doSomething();
458458
return status;
459459
});
460-
461-
````
460+
```
462461
</Expandable>
463462

464463
See <PlatformLink to="/tracing/instrumentation/">Tracing Instrumentation</PlatformLink> for more information on how to work with spans.
@@ -494,7 +493,7 @@ See <PlatformLink to="/tracing/instrumentation/">Tracing Instrumentation</Platfo
494493
const span = Sentry.startInactiveSpan({ name: 'my-span' });
495494
doSomething();
496495
span.end();
497-
````
496+
```
498497

499498
</Expandable>
500499

@@ -538,8 +537,7 @@ const status = await doSomething();
538537
span.end();
539538
return status;
540539
});
541-
542-
````
540+
```
543541
</Expandable>
544542

545543
See <PlatformLink to="/tracing/instrumentation/">Tracing Instrumentation</PlatformLink> for more information on how to work with spans.
@@ -937,5 +935,3 @@ parameters={[
937935
Wraps a callback with a cron monitor check in. The check in will be sent to Sentry when the callback finishes.
938936
</SdkApi>
939937
</PlatformCategorySection>
940-
```
941-
````

0 commit comments

Comments
 (0)