From b28c0463b3814be701b6636abc2d9a7818377163 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 1 May 2026 10:50:25 +0300 Subject: [PATCH] fix(web): allow undefined for Field error prop (exactOptionalPropertyTypes) Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/web/src/components/ui.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/ui.tsx b/apps/web/src/components/ui.tsx index 054fcec..d67b252 100644 --- a/apps/web/src/components/ui.tsx +++ b/apps/web/src/components/ui.tsx @@ -8,7 +8,7 @@ export function Button({ } export function Field( - props: InputHTMLAttributes & { label: string; error?: string }, + props: InputHTMLAttributes & { label: string; error?: string | undefined }, ) { const { label, error, ...input } = props; return (