Skip to content

Commit e987a37

Browse files
committed
Remove unused code
1 parent dce22c5 commit e987a37

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/layouts/ReferenceItemLayout.astro

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,7 @@ const descriptionParts = description.split(
145145
const langMatch = /<code class="language-(\w+)[^"]*">/.exec(part);
146146
const lang = langMatch ? langMatch[1] : undefined;
147147
return (
148-
<Code code={code} lang={lang} theme="github-light" />
149-
)
150-
const html = descriptionPartRenderedCode[i];
151-
return (
152-
<div
153-
set:html={html}
154-
class="[&_a]:text-type-magenta-dark [&_a]:!decoration-type-magenta-dark mb-xl reference-item rendered-markdown"
155-
/>
148+
<Code code={code} lang={lang as any} theme="github-light" />
156149
);
157150
} else {
158151
return (

0 commit comments

Comments
 (0)