From 629cf147c0165cf7e70105f99ebafbad6d0eae09 Mon Sep 17 00:00:00 2001 From: Konstantin Lysenko Date: Wed, 3 Jan 2024 21:40:17 +0200 Subject: [PATCH] fix cantact backend field data error --- src/components/ContactList/ContactList.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ContactList/ContactList.jsx b/src/components/ContactList/ContactList.jsx index 05659e9..f1326b4 100644 --- a/src/components/ContactList/ContactList.jsx +++ b/src/components/ContactList/ContactList.jsx @@ -44,13 +44,13 @@ const ContactList = () => { {isListEmpty &&

There are no contacts

} {filteredContacts.length > 0 && ( - {filteredContacts.map(({ id, name, phone }) => { + {filteredContacts.map(({ id, name, number }) => { return ( );