You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm using <EbayMenuButton>, with prefixLabel and text, I get key warnings in the dev console:
browser-init.tsx:11 Warning: Each child in a list should have a unique "key" prop.
Check the render method of `EbayMenuButton`. See https://fb.me/react-warning-keys for more information.
in span (created by EbayMenuButton)
in EbayMenuButton (created by InventoryFilter)
in InventoryFilter (created by InventoryGrid)
in section (created by InventoryGrid)
in div (created by InventoryGrid)
in InventoryGrid (created by MainPage)
in div (created by ModuleContainer)
in ModuleContainer (created by MainPage)
in section (created by MainPage)
in MainPage
browser-init.tsx:11 Warning: Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.
in span (created by EbayButtonText)
in EbayButtonText (created by EbayButtonExpand)
in span (created by EbayButtonCell)
in EbayButtonCell (created by EbayButtonExpand)
in EbayButtonExpand (created by EbayButton)
in button (created by EbayButton)
in EbayButton (created by EbayButton)
in EbayButton (created by EbayMenuButton)
in span (created by EbayMenuButton)
in EbayMenuButton (created by InventoryFilter)
in InventoryFilter (created by InventoryGrid)
in section (created by InventoryGrid)
in div (created by InventoryGrid)
in InventoryGrid (created by MainPage)
in div (created by ModuleContainer)
in ModuleContainer (created by MainPage)
in section (created by MainPage)
in MainPage
I've narrowed it down to the labelWithPrefixAndIcon function withing ebay-menu-button/menu-button.tsx
Hello!
When I'm using
<EbayMenuButton>
, withprefixLabel
andtext
, I get key warnings in the dev console:I've narrowed it down to the
labelWithPrefixAndIcon
function withingebay-menu-button/menu-button.tsx
Versions
"react": "^16.12.0"
"@ebay/ui-core-react": "^6.2.1"
The text was updated successfully, but these errors were encountered: