Apply react hook form for user page

This commit is contained in:
2023-11-03 17:30:34 +07:00
parent ae7c25e6f3
commit 32a65038f5
10 changed files with 404 additions and 577 deletions
@@ -0,0 +1,6 @@
const INVALID_FIELD = 'This field is invalid format!';
const INVALID_PHONE = 'Phone number is invalid!';
const REQUIRED_FIELD_ERROR = 'This field is required!';
const INVALID_DISCOUNT = 'Discount should be greater than 0 and less than 100!';
export { REQUIRED_FIELD_ERROR, INVALID_DISCOUNT, INVALID_FIELD, INVALID_PHONE };