Fix linting
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user