Skip to content

Commit

Permalink
fix cantact backend field data error
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantin-it-lysenko committed Jan 3, 2024
1 parent 70dd059 commit 629cf14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ContactList/ContactList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ const ContactList = () => {
{isListEmpty && <p>There are no contacts</p>}
{filteredContacts.length > 0 && (
<List>
{filteredContacts.map(({ id, name, phone }) => {
{filteredContacts.map(({ id, name, number }) => {
return (
<ContactItem
key={id}
id={id}
name={name}
number={phone}
number={number}
onDelete={deleteContactHandler}
></ContactItem>
);
Expand Down

1 comment on commit 629cf14

@konstantin-it-lysenko
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contact*

Please sign in to comment.