Chore: upgrade deps (#598)

* upgrade deps

* fix mobile phone valid
This commit is contained in:
an-lee
2024-05-10 17:54:47 +08:00
committed by GitHub
parent fb30ef3122
commit fcd9217986
3 changed files with 411 additions and 513 deletions

View File

@@ -339,7 +339,7 @@ const PandoLoginForm = () => {
const validatePhone = () => {
if (
iti?.isValidNumber() &&
iti?.getNumberType() === intlTelInputUtils.numberType.MOBILE
iti?.getNumberType() === (intlTelInput.utils.numberType as any)?.MOBILE
) {
setPhoneNumber(iti.getNumber());
} else {