Fixed unique keys bug

This commit is contained in:
Lucas Oliveira 2023-07-28 14:48:40 -03:00
commit 641bcb4a58
2 changed files with 4 additions and 1 deletions

View file

@ -131,3 +131,6 @@ dmypy.json
# Pyre type checker
.pyre/
# Custom Components
langflow/components

View file

@ -137,7 +137,7 @@ export default function ExtraSidebar() {
Object.keys(dataFilter[d]).length > 0 ? (
<DisclosureComponent
openDisc={search.length == 0 ? false : true}
key={nodeNames[d]}
key={i}
button={{
title: nodeNames[d] ?? nodeNames.unknown,
Icon: nodeIconsLucide[d] ?? nodeIconsLucide.unknown,