We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 184c6f0 commit 79f2e2fCopy full SHA for 79f2e2f
web/src/pages/[func].astro
@@ -17,7 +17,6 @@ const funcInfo = getFunctionInfo(func.data);
17
18
const funcType = funcInfo.type;
19
const funcTypePretty = funcInfo.typePretty;
20
-const funcTypeClass = `side-${funcType}`;
21
22
const funcPair = funcInfo.pair;
23
---
@@ -27,7 +26,7 @@ const funcPair = funcInfo.pair;
27
26
title: func.id,
28
tableOfContents: false,
29
}}>
30
- <p><strong>Type:</strong> <span class={funcTypeClass}>{funcTypePretty}</span></p>
+ <p><strong>Type:</strong> <span class={"side-"+funcType}>{funcTypePretty}</span></p>
31
32
{funcPair && (
33
<p>Pair: <a href={ funcPair }>{ funcPair }</a></p>
0 commit comments