fix(web): allow undefined for Field error prop (exactOptionalPropertyTypes)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
admin
2026-05-01 10:50:25 +03:00
parent bf360d6e53
commit b28c0463b3
+1 -1
View File
@@ -8,7 +8,7 @@ export function Button({
} }
export function Field( export function Field(
props: InputHTMLAttributes<HTMLInputElement> & { label: string; error?: string }, props: InputHTMLAttributes<HTMLInputElement> & { label: string; error?: string | undefined },
) { ) {
const { label, error, ...input } = props; const { label, error, ...input } = props;
return ( return (