From 8acfe3447a0ff00507f59346ab9a5ebf2ef29222 Mon Sep 17 00:00:00 2001 From: Monis <62466131+monis-t@users.noreply.github.com> Date: Wed, 29 Dec 2021 09:40:11 -0800 Subject: [PATCH] spell check in line 7. const deleteContactHandler --- src/components/ContactList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {