feat: Adds number validation for WhatsApp inbox at the creation step (#6043)

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
This commit is contained in:
Sivin Varghese
2022-12-13 09:22:37 +05:30
committed by GitHub
parent 86958278cd
commit 9d78f0d6c6
6 changed files with 25 additions and 13 deletions

View File

@@ -16,3 +16,4 @@ export const isValidPassword = value => {
containsSpecialCharacter
);
};
export const isNumber = value => /^\d+$/.test(value);