Skip to content

Instantly share code, notes, and snippets.

@cezar-plescan
Created June 3, 2024 20:23
add invalid email error message
const ERROR_MESSAGES: Record<string, string> = {
unknown: 'This field has an error',
required: 'This field is required',
email: 'Invalid email format'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment