File tree 2 files changed +2
-7
lines changed
src/components/doc-explorer
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ export default function Description(props: DescriptionProps) {
11
11
const { text, className } = props ;
12
12
13
13
if ( text )
14
- return (
15
- < Markdown text = { text } className = { `description-box ${ className } ` } />
16
- ) ;
14
+ return < Markdown text = { text } className = { `description-box ${ className } ` } /> ;
17
15
18
16
return (
19
17
< div className = { `description-box ${ className } -no-description` } >
Original file line number Diff line number Diff line change @@ -15,10 +15,7 @@ export default function EnumValue(props: EnumValueProps) {
15
15
text = { value . description }
16
16
/>
17
17
{ value . deprecationReason && (
18
- < Markdown
19
- className = "doc-deprecation"
20
- text = { value . deprecationReason }
21
- />
18
+ < Markdown className = "doc-deprecation" text = { value . deprecationReason } />
22
19
) }
23
20
</ div >
24
21
) ;
You can’t perform that action at this time.
0 commit comments