FiveEightyEight / TeamTwo_YTube

Single-page web app that uses the YouTube API
0 stars 0 forks source link

Home Route: Key bug #35

Closed FiveEightyEight closed 5 years ago

FiveEightyEight commented 5 years ago

Child element in HomeContainer.js requires key={} prop.

Warning: Each child in a list should have a unique "key" prop.         index.js:1446

Check the render method of `HomeContainer`. See https://fb.me/react-warning-keys for more information.
    in p (at HomeContainer.js:83)
    in HomeContainer (created by Route)
    in Route (created by withRouter(HomeContainer))
    in withRouter(HomeContainer) (at App.js:18)
    in Route (at App.js:18)
    in Switch (at App.js:17)
    in div (at App.js:16)
    in App (at src/index.js:9)
    in Router (created by HashRouter)
    in HashRouter (at src/index.js:8)
FiveEightyEight commented 5 years ago

Bug fixed by Osita.