Skip to content

Commit 975c694

Browse files
[getsentry/action-github-commit] Auto commit
1 parent 32baa4b commit 975c694

File tree

1 file changed

+43
-44
lines changed

1 file changed

+43
-44
lines changed

src/components/sdkOption/index.tsx

Lines changed: 43 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ export function SdkOption({
2929

3030
return (
3131
<PlatformCategorySection supported={categorySupported}>
32-
33-
<div className={styles["sdk-config-option"]}>
32+
<div className={styles['sdk-config-option']}>
3433
<h3 id={name} aria-label={name} data-sdk-option>
3534
<a href={`#${name}`}>
3635
<svg
@@ -48,51 +47,51 @@ export function SdkOption({
4847
{name}
4948
</a>
5049
</h3>
51-
<div className={styles["sdk-config-option-details"]}>
52-
<table className={styles["sdk-option-table"]}>
50+
<div className={styles['sdk-config-option-details']}>
51+
<table className={styles['sdk-option-table']}>
5352
<tbody>
54-
{type && (
55-
<tr>
56-
<th>Type</th>
57-
<td>
58-
<code>{type}</code>
59-
</td>
60-
</tr>
61-
)}
62-
{defaultValue && (
63-
<tr>
64-
<th>Default</th>
65-
<td>
66-
<code>{defaultValue}</code>
67-
</td>
68-
</tr>
69-
)}
70-
<PlatformCategorySection supported={['server', 'serverless']}>
71-
<PlatformSection notSupported={['javascript.nextjs']}>
72-
{envVar && (
73-
<tr>
74-
<th>ENV Variable</th>
75-
<td>
76-
<code>{envVar}</code>
77-
</td>
78-
</tr>
79-
)}
80-
</PlatformSection>
81-
</PlatformCategorySection>
53+
{type && (
54+
<tr>
55+
<th>Type</th>
56+
<td>
57+
<code>{type}</code>
58+
</td>
59+
</tr>
60+
)}
61+
{defaultValue && (
62+
<tr>
63+
<th>Default</th>
64+
<td>
65+
<code>{defaultValue}</code>
66+
</td>
67+
</tr>
68+
)}
69+
<PlatformCategorySection supported={['server', 'serverless']}>
70+
<PlatformSection notSupported={['javascript.nextjs']}>
71+
{envVar && (
72+
<tr>
73+
<th>ENV Variable</th>
74+
<td>
75+
<code>{envVar}</code>
76+
</td>
77+
</tr>
78+
)}
79+
</PlatformSection>
80+
</PlatformCategorySection>
8281

83-
{showBrowserOnly && (
84-
<tr>
85-
<th>Only available on</th>
86-
<td>Client</td>
87-
</tr>
88-
)}
82+
{showBrowserOnly && (
83+
<tr>
84+
<th>Only available on</th>
85+
<td>Client</td>
86+
</tr>
87+
)}
8988

90-
{showServerLikeOnly && (
91-
<tr>
92-
<th>Only available on</th>
93-
<td>Server</td>
94-
</tr>
95-
)}
89+
{showServerLikeOnly && (
90+
<tr>
91+
<th>Only available on</th>
92+
<td>Server</td>
93+
</tr>
94+
)}
9695
</tbody>
9796
</table>
9897

0 commit comments

Comments
 (0)