Skip to content

Conversation

vicmeow
Copy link

@vicmeow vicmeow commented Apr 6, 2019

Made some changes, and I think part 9 can still be improved!

vicmeow added 10 commits April 6, 2019 15:43
Broken link at the end btw
Updating some wording for clarity
Not sure if this is accurate 😅
Code used index to remove cat, but description said URL. Also clarified some things.
Added a link to a previous part that mentioned arrow functions and made some sentences clearer.
Hm... I think this can still be improved further.
@@ -75,10 +75,10 @@ import { GoTrashcan } from 'react-icons/go'
\n
const favoriteCats = () => (
<ul className="favorite-cats">
{favoriteCats.map((cat, index) => (
{favoriteCats.map(cat => (
<li>

Choose a reason for hiding this comment

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

key attribute should be added

<ul className="favorite-cats">
{cats.map((cat, index) => (
{cats.map(cat => (

Choose a reason for hiding this comment

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

Same as above.

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

Successfully merging this pull request may close these issues.

3 participants