fix: tambah calendar divisi

This commit is contained in:
2025-07-18 12:34:49 +08:00
parent f9064fb9c3
commit c0decd537b
3 changed files with 3 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ export default function CalendarDivisionCreate() {
} else {
setError({ ...error, repeatEventType: false });
if (val == "once") {
setData({ ...data, repeatValue: 1 });
setData(data => ({ ...data, repeatValue: 1 }));
}
}
} else if (cat == "repeatValue") {