Skip to content

Commit d9da73e

Browse files
committed
fix code formatting
1 parent e08c0be commit d9da73e

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/components/doc-explorer/Description.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ export default function Description(props: DescriptionProps) {
1111
const { text, className } = props;
1212

1313
if (text)
14-
return (
15-
<Markdown text={text} className={`description-box ${className}`} />
16-
);
14+
return <Markdown text={text} className={`description-box ${className}`} />;
1715

1816
return (
1917
<div className={`description-box ${className} -no-description`}>

src/components/doc-explorer/EnumValue.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ export default function EnumValue(props: EnumValueProps) {
1515
text={value.description}
1616
/>
1717
{value.deprecationReason && (
18-
<Markdown
19-
className="doc-deprecation"
20-
text={value.deprecationReason}
21-
/>
18+
<Markdown className="doc-deprecation" text={value.deprecationReason} />
2219
)}
2320
</div>
2421
);

0 commit comments

Comments
 (0)