feat: Update title in GenericNode component

This commit updates the title in the GenericNode component to use the `name` property instead of the `selected` or `types[0]` properties. This change improves the accuracy and clarity of the code.
This commit is contained in:
ogabrielluiz 2024-05-30 22:45:44 -03:00
commit 709082f2f0

View file

@ -892,7 +892,7 @@ export default function GenericNode({
nodeColors[types[data.type]] ??
nodeColors.unknown
}
title={output.selected ?? output.types[0]}
title={output.name}
tooltipTitle={output.selected ?? output.types[0]}
id={{
baseClasses: [output.selected ?? output.types[0]],