🐛 fix(extraSidebarComponent): fix key prop in DisclosureComponent and TooltipComponent to use unique values
This commit is contained in:
parent
247e911620
commit
c788d4c200
1 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ export default function ExtraSidebar() {
|
|||
Object.keys(dataFilter[d]).length > 0 ? (
|
||||
<DisclosureComponent
|
||||
openDisc={search.length == 0 ? false : true}
|
||||
key={i}
|
||||
key={nodeNames[d]}
|
||||
button={{
|
||||
title: nodeNames[d] ?? nodeNames.unknown,
|
||||
Icon: nodeIcons[d] ?? nodeIcons.unknown,
|
||||
|
|
@ -160,7 +160,7 @@ export default function ExtraSidebar() {
|
|||
content={data[d][t].display_name}
|
||||
delayDuration={1500}
|
||||
side="right"
|
||||
key={i}
|
||||
key={data[d][t].display_name}
|
||||
>
|
||||
<div key={k} data-tooltip-id={t}>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue