diff --git a/src/components/ContactList.js b/src/components/ContactList.js index a093c6f..f3f85e9 100644 --- a/src/components/ContactList.js +++ b/src/components/ContactList.js @@ -4,7 +4,7 @@ import ContactCard from "./ContactCard"; const ContactList = (props) => { console.log(props); - const deleteConactHandler = (id) => { + const deleteContactHandler = (id) => { props.getContactId(id); }; const renderContactList = props.contacts.map((contact) => {