Skip to content

Commit 79f2e2f

Browse files
.
1 parent 184c6f0 commit 79f2e2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/src/pages/[func].astro

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const funcInfo = getFunctionInfo(func.data);
1717
1818
const funcType = funcInfo.type;
1919
const funcTypePretty = funcInfo.typePretty;
20-
const funcTypeClass = `side-${funcType}`;
2120
2221
const funcPair = funcInfo.pair;
2322
---
@@ -27,7 +26,7 @@ const funcPair = funcInfo.pair;
2726
title: func.id,
2827
tableOfContents: false,
2928
}}>
30-
<p><strong>Type:</strong> <span class={funcTypeClass}>{funcTypePretty}</span></p>
29+
<p><strong>Type:</strong> <span class={"side-"+funcType}>{funcTypePretty}</span></p>
3130

3231
{funcPair && (
3332
<p>Pair: <a href={ funcPair }>{ funcPair }</a></p>

0 commit comments

Comments
 (0)