Skip to content

Commit 2302c5f

Browse files
fix: Remove prefix and name from the id of function parameters
Resolves #230
1 parent fb3a736 commit 2302c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/components/ui/FunctionParameters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const FunctionParameters: FC<FunctionParametersProps> = ({
2323
class="bg-gray-50 rounded-md p-4 border border-gray-100"
2424
>
2525
<h4
26-
id={`${prefix}-${func.name}-parameters-${param.name}`}
26+
id={`parameters-${param.name}`}
2727
class="flex flex-wrap items-center gap-2 mb-3"
2828
>
2929
<code class="text-base font-medium">{param.name}</code>

0 commit comments

Comments
 (0)