Skip to content

Commit 78956f9

Browse files
fix: Correct IDs of functions in group (e.g., calc.abs)
1 parent 4565415 commit 78956f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/src/components/templates/GroupTemplate.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const GroupTemplate: FC<GroupTemplateProps> = ({
4141

4242
{content.functions.map((method, index) => (
4343
<div key={method.name}>
44-
<h3 id={`definitions-${method.name}`} class="method-head">
44+
<h3 id={`functions-${method.name}`} class="method-head">
4545
<code class="text-base font-medium">{method.name}</code>
4646
<div class="flex flex-wrap items-center gap-2 text-sm">
4747
{method.element && <Tooltip kind="element" />}
@@ -50,7 +50,7 @@ export const GroupTemplate: FC<GroupTemplateProps> = ({
5050
</h3>
5151
<FunctionDisplay
5252
func={method}
53-
prefix={`definitions-${method.name}`}
53+
prefix={`functions-${method.name}`}
5454
isExampleFolding={false}
5555
/>
5656
</div>

0 commit comments

Comments
 (0)