Closed adxmantium closed 4 years ago
Deploy request for rebuild-black-business accepted.
Accepted with commit 9387b128aee138dbbd3eceb256d91106a6ae753a
https://app.netlify.com/sites/rebuild-black-business/deploys/5ee2fae517e483000725385b
Actually this was fixed in a PR I just merged. https://github.com/Rebuild-Black-Business/RBB-Website/pull/241
Describe your PR
This PR fixes the
unique "key" prop
warning you get when a list items have the same key value, or in this case, the root node did not have thekey
prop, it was on the child node, so I just moved it and that fixes the error.Fixes: add-keys-to-pagination trello ticket
Pages/Interfaces that will change
No UI changes
Screenshots / video of changes
Before: was seeing
Warning: Each child in a list should have a unique "key" prop. Check the render method of 'Pagination'. See https://fb.me/react-warning-keys for more information.
After: no longer seeing that^ error in console
Steps to test
Warning: Each child in a list should have a unique "key" prop. Check the render method of 'Pagination'. See https://fb.me/react-warning-keys for more information.
Additional notes