Skip to content

Contact-List#84

Open
kelseyb55 wants to merge 9 commits into
projectshft:mainfrom
kelseyb55:main
Open

Contact-List#84
kelseyb55 wants to merge 9 commits into
projectshft:mainfrom
kelseyb55:main

Conversation

@kelseyb55

Copy link
Copy Markdown

No description provided.

Comment thread src/App.js Outdated
<Route exact path="/" element={<ContactList contacts={contacts} />} />
<Route path="/contacts" element={<ContactList contacts={contacts} />}/>
<Route path="/new" element={<AddNewContact addContact={addContact} setContacts={setContacts}/>}/>
<Route path="contacts/id" element={<Contact contacts={contacts}/>} />

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The syntax for including the id as part of the path is incorrect

Comment thread src/components/contact_id.js Outdated
<div className='container'>
<div className="card">
<img
src={contact.imageUrl}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The I in imageUrl is uppercase in other places

Comment thread src/components/contact_list.js Outdated

<td>
<img
src={contact.imageUrl}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

another lower case i

</td>
<td>{contact.name}</td>
<td>{contact.email}</td>
<td>{contact.phoneNumber}</td>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

sometimes you use phoneNumber and other times its number

};

addContact(newContact);
nav('/contactList');

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this route doesn't exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants