Skip to content

Commit 7984abf

Browse files
[getsentry/action-github-commit] Auto commit
1 parent e4bce99 commit 7984abf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/nestedObject.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {MinusCircledIcon, PlusCircledIcon} from '@radix-ui/react-icons';
66
import {codeToJsx} from './highlightCode';
77
import {ParameterDef} from './sdkApi';
88

9-
109
export function RenderNestedObject({
1110
name,
1211
objProps,
@@ -52,7 +51,10 @@ export function RenderNestedObject({
5251
<div>
5352
{typeof prop.type === 'string' ? (
5453
<Fragment>
55-
<code>{prop.name}{!prop.required ? '?' : ''}: </code>
54+
<code>
55+
{prop.name}
56+
{!prop.required ? '?' : ''}:{' '}
57+
</code>
5658
<code>{codeToJsx(prop.type, 'typescript')},</code>
5759
</Fragment>
5860
) : (

0 commit comments

Comments
 (0)