fix: remove unused string, rename string

This commit is contained in:
2025-12-18 23:06:12 -03:00
parent be86d2353d
commit 0c0f4024df
2 changed files with 3 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ export const strings = Object.freeze({
addContact: 'add a contact',
allFieldRequired: 'all fields are required',
company: 'company',
constacts: 'contacts',
contacts: 'contacts',
contactsName: "Contact's name",
contactsCompany: "Contact's company",
contactsPhone: "Contact's phone",
@@ -12,7 +12,6 @@ export const strings = Object.freeze({
editContact: 'edit contact',
editTheContact: 'edit the contact',
errorMessageMaxLength: (maxLen: number) => `Must be ${maxLen} characters or fewer.`,
errorMessageMinLength: (minLen: number) => `Must be at least ${minLen} characters long.`,
errorMessagePhonePattern: `Valid format: + (optional) plus 12 to 15 digits`,
errorMessageRequired: 'This field is required.',
name: 'name',