Skip to content

Commit 41b6e05

Browse files
committed
fix build
1 parent 948244c commit 41b6e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/app/forms/lib.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export function createForm(schema: z.ZodObject<any>) {
176176
<Input {...sharedProps} placeholder={placeholder} type="number" />
177177
</InputGroup>
178178
);
179-
} else return <pre>{JSON.stringify(value, null, 2)}</pre>;
179+
} else return <pre key={key}>{JSON.stringify(value, null, 2)}</pre>;
180180
});
181181

182182
const Component = (props: React.FormHTMLAttributes<HTMLFormElement>) => (

0 commit comments

Comments
 (0)