Warning: Each child in an array or iterator should have a unique "key" prop.
See original GitHub issueWhen I send data
as props I have error for iterator key
.
Warning: Each child in an array or iterator should have a unique “key” prop.
Check the render method of Body
. See https://fb.me/react-warning-keys for more information.
in Row (created by Body)
in Body (created by BootstrapTable)
in table (created by BootstrapTable)
in div (created by BootstrapTable)
in BootstrapTable (created by PaginationWrapper)
in PaginationWrapper (created by SortWrapper)
in SortWrapper (created by BootstrapTableContainer)
in BootstrapTableContainer (at RemotePagination.js:66)
in RemotePagination (created by Connect(RemotePagination))
in Connect(RemotePagination) (at Merchants.js:178)
in div (at Merchants.js:166)
in section (created by styled.section)
in styled.section (at Merchants.js:165)
in div (at Merchants.js:164)
in div (at Merchants.js:163)
in Merchants (created by Connect(Merchants))
in Connect(Merchants) (created by Route)
in Route (at DashboardLayout.js:39)
in Switch (at DashboardLayout.js:37)
in main (at DashboardLayout.js:35)
in div (at DashboardLayout.js:33)
in div (at DashboardLayout.js:32)
in section (created by styled.section)
in styled.section (at DashboardLayout.js:30)
in AuthorizedLayout (at requireAuth.js:27)
in Authenticate (created by Connect(Authenticate))
in Connect(Authenticate) (created by Route)
in Route (at routes.js:34)
in Switch (at routes.js:20)
in div (at routes.js:17)
in Router (created by BrowserRouter)
in BrowserRouter (at routes.js:16)
in Routes (created by Connect(Routes))
in Connect(Routes) (at index.js:42)
in Provider (at index.js:41)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:18 (2 by maintainers)
it seems like <BootstrapTable /> use keyField as the unique key prop. if the value of the “keyFiled” is not unique in your code, you will see that error message…
It’s a bug in my code. Thanks.