fix: remove unused string, rename string
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user