Skip to content

Commit c8730b7

Browse files
committed
linting
1 parent edc70e6 commit c8730b7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pages/browse/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,14 @@ const Browse = ({ session }) => {
7070
<Item
7171
key={service.id}
7272
markdownDescriptionTruncated={(
73-
<Markdown rehypePlugins={[rehypeRaw]} children={truncated} />
73+
<Markdown rehypePlugins={[rehypeRaw]}>
74+
{truncated}
75+
</Markdown>
7476
)}
7577
markdownDescriptionExtended={(
76-
<Markdown rehypePlugins={[rehypeRaw]} children={service?.description?.slice(cutOffIndex).trimStart()} />
78+
<Markdown rehypePlugins={[rehypeRaw]}>
79+
{service?.description?.slice(cutOffIndex).trimStart()}
80+
</Markdown>
7781
)}
7882
item={service}
7983
withButtonLink={true}

0 commit comments

Comments
 (0)