fix : member

Deskripsi:
- fix jumlah digit nomor telepon pada halaman tambah dan edit member

No Issues
This commit is contained in:
amel
2024-12-26 14:11:43 +08:00
parent c20667bbff
commit dd1877544f
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ export default function CreateMember() {
nilai = false
}
if (listData.phone == "" || !(listData.phone.length >= 10 && listData.phone.length <= 15)) {
if (listData.phone == "" || !(listData.phone.length >= 9 && listData.phone.length <= 15)) {
setTouched(touched => ({ ...touched, phone: true }))
nilai = false
}