From 44e7a18a772116c2b3d54baf865255cd8438da81 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sun, 6 Apr 2025 23:42:23 +0800 Subject: [PATCH] Fix linting --- lightrag_webui/src/components/graph/Legend.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag_webui/src/components/graph/Legend.tsx b/lightrag_webui/src/components/graph/Legend.tsx index a8b7a556..a99378f9 100644 --- a/lightrag_webui/src/components/graph/Legend.tsx +++ b/lightrag_webui/src/components/graph/Legend.tsx @@ -43,8 +43,8 @@ const Legend: React.FC = ({ className }) => { style={{ backgroundColor: color }} /> - {PREDEFINED_TYPES.includes(type.toLowerCase()) - ? t(`graphPanel.nodeTypes.${type.toLowerCase()}`) + {PREDEFINED_TYPES.includes(type.toLowerCase()) + ? t(`graphPanel.nodeTypes.${type.toLowerCase()}`) : type}