Skip to content

Commit

Permalink
clearer error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lyoshenka committed Mar 19, 2024
1 parent 7fbb82c commit be13011
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export const REQUIRED_FIELD_ERROR = 'This field is required'
export const INVALID_FIELD_ERROR = 'This field is invalid'
export const REQUIRED_SECTION_ERROR = 'This section is required'
export const PHOTO_REQUIRED_ERROR = 'At least one photo is required'
export const ADDRESS_ERROR =
'Please enter a valid address that includes a city and country'
export const ADDRESS_ERROR = 'Include at least your city or state'

export const REQUIRED_FIELDS_TOAST_ERROR =
'Oops! It seems that one or more fields require your attention.'
Expand Down

0 comments on commit be13011

Please sign in to comment.