From 0c0f4024dfb5e1e00d72a6913aa60d3c6b94ba84 Mon Sep 17 00:00:00 2001 From: Gabriel De Los Rios Date: Thu, 18 Dec 2025 23:06:12 -0300 Subject: [PATCH] fix: remove unused string, rename string --- src/app/components/contact-list/contact-list.html | 4 ++-- src/app/strings.ts | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/components/contact-list/contact-list.html b/src/app/components/contact-list/contact-list.html index c23bd7c..f342901 100644 --- a/src/app/components/contact-list/contact-list.html +++ b/src/app/components/contact-list/contact-list.html @@ -1,10 +1,10 @@
-

{{strings.constacts|upperfirst}}

+

{{strings.contacts|upperfirst}}

diff --git a/src/app/strings.ts b/src/app/strings.ts index 7bf991a..c7b7fb4 100644 --- a/src/app/strings.ts +++ b/src/app/strings.ts @@ -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',