We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 948244c commit 41b6e05Copy full SHA for 41b6e05
apps/web/app/forms/lib.tsx
@@ -176,7 +176,7 @@ export function createForm(schema: z.ZodObject<any>) {
176
<Input {...sharedProps} placeholder={placeholder} type="number" />
177
</InputGroup>
178
);
179
- } else return <pre>{JSON.stringify(value, null, 2)}</pre>;
+ } else return <pre key={key}>{JSON.stringify(value, null, 2)}</pre>;
180
});
181
182
const Component = (props: React.FormHTMLAttributes<HTMLFormElement>) => (
0 commit comments