Skip to content

Commit 1c48da9

Browse files
committed
Fix Tab component syntax in crons/advanced.mdx
- Convert <Tabs>/<Tab> components to {tabTitle:...} syntax - Resolves Vercel build error: 'Expected component Tab to be defined' - Fixes prerender error on /platforms/javascript/guides/hapi/crons/advanced
1 parent 018a0f2 commit 1c48da9

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/platforms/javascript/common/crons/advanced.mdx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ Programmatically create and manage monitors via code. This approach is ideal for
5151

5252
You can create and update monitors programmatically using either `Sentry.withMonitor()` or `Sentry.captureCheckIn()` with monitor configuration:
5353

54-
<Tabs>
55-
<Tab title="withMonitor()">
56-
57-
```javascript
54+
```javascript {tabTitle:withMonitor()}
5855
import * as Sentry from '@sentry/node';
5956

6057
// Define monitor configuration
@@ -83,10 +80,7 @@ Sentry.withMonitor(
8380
);
8481
```
8582

86-
</Tab>
87-
<Tab title="captureCheckIn()">
88-
89-
```javascript
83+
```javascript {tabTitle:captureCheckIn()}
9084
import * as Sentry from '@sentry/node';
9185

9286
const monitorConfig = {
@@ -133,9 +127,6 @@ async function runMonitoredJob() {
133127
}
134128
```
135129

136-
</Tab>
137-
</Tabs>
138-
139130
### Monitor Configuration Properties
140131

141132
Configure your monitors with these options:

0 commit comments

Comments
 (0)