Fix linting
This commit is contained in:
parent
688be94085
commit
44e7a18a77
1 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ const Legend: React.FC<LegendProps> = ({ className }) => {
|
||||||
style={{ backgroundColor: color }}
|
style={{ backgroundColor: color }}
|
||||||
/>
|
/>
|
||||||
<span className="text-xs truncate" title={type}>
|
<span className="text-xs truncate" title={type}>
|
||||||
{PREDEFINED_TYPES.includes(type.toLowerCase())
|
{PREDEFINED_TYPES.includes(type.toLowerCase())
|
||||||
? t(`graphPanel.nodeTypes.${type.toLowerCase()}`)
|
? t(`graphPanel.nodeTypes.${type.toLowerCase()}`)
|
||||||
: type}
|
: type}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue