Fix tipo de handleChange en ItemForm que rompía el build de producción

El handler se usaba con FormattedField (input/textarea), pero estaba
tipado para input/select, lo que hacía fallar tsc -b en el build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
GeorgeandClaude Sonnet 5 committed 2026-09-04 09:51:46 -05:00
1 parent fe22681c66
commit 182f20d43e
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ export default function ItemForm({
}, [itemCode]);
const handleChange = (
e: ChangeEvent<HTMLInputElement | HTMLSelectElement>,
e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>,
) => {
const { name, value, type } = e.target;
if (type === "checkbox") {