fix: 타입 에러

This commit is contained in:
2026-04-13 15:57:10 +09:00
parent 5a59b3f0eb
commit 77dc0905b6
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -196,7 +196,7 @@ export const chRowspanTable = (
value={formatCommaNumber(value) || ""}
disabled={!selectedIds.includes(row.chkgdnSn)}
maxLength={numSize}
onInput={(e: React.SubmitEvent<HTMLInputElement>) => {
onInput={(e: React.FormEvent<HTMLInputElement>) => {
const el = e.currentTarget;
if (
head.type === "number" &&
@@ -232,7 +232,7 @@ export const chRowspanTable = (
value={value || ""}
disabled={!selectedIds.includes(row.chkgdnSn)}
maxLength={numSize}
onInput={(e: React.SubmitEvent<HTMLInputElement>) => {
onInput={(e: React.FormEvent<HTMLInputElement>) => {
const el = e.currentTarget;
if (
head.type === "number" &&
@@ -305,7 +305,7 @@ function UserSignupModal({ open, onClose, onSuccess }: UserSignupModalProps) {
}
};
const handleSubmit = async (e: React.SubmitEvent) => {
const handleSubmit = async (e: React.FormEvent) => {
e.preventDefault();
console.log("회원가입 버튼 클릭됨 - handleSubmit");
console.log("현재 폼 데이터:", formData);