Skip to content

Commit

Permalink
Merge pull request #110 from memalhot/error-msg
Browse files Browse the repository at this point in the history
adjust error message to be more clear
  • Loading branch information
vishnoianil authored Aug 15, 2024
2 parents 8879f24 + 09a6e0a commit 45ebd5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const validateFields = (fields: Record<string, string>): { valid: boolean
if (value.trim() === '') {
return {
valid: false,
message: `Please make sure all the ${key} fields are filled!`
message: `The ${key} field is empty. Please make sure all the fields are filled!`
};
}
}
Expand Down

0 comments on commit 45ebd5d

Please sign in to comment.