Skip to content

Commit 844643f

Browse files
committed
stable key in hooks documentation
1 parent 2d34671 commit 844643f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/src/components/sdk/hook-documentation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export function HookDocumentation({ hookInfo }: HookDocumentationProps) {
381381
const simplifiedType = simplifyOptionsType(param.type);
382382
return (
383383
<ParamField
384-
key={index}
384+
key={param.name}
385385
path={param.name}
386386
type={simplifiedType}
387387
required={!param.optional}

0 commit comments

Comments
 (0)