From d550f1c58c7aaa5e6423565cc3d831445e6cd4c3 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sun, 5 Oct 2025 10:42:15 +0800 Subject: [PATCH] Fix linting --- lightrag_webui/src/components/graph/GraphControl.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag_webui/src/components/graph/GraphControl.tsx b/lightrag_webui/src/components/graph/GraphControl.tsx index a1477217..daa55b50 100644 --- a/lightrag_webui/src/components/graph/GraphControl.tsx +++ b/lightrag_webui/src/components/graph/GraphControl.tsx @@ -303,8 +303,8 @@ const GraphControl = ({ disableHoverEffect }: { disableHoverEffect?: boolean }) if (!disableHoverEffect) { const _focusedNode = focusedNode || selectedNode // Choose edge highlight color based on theme - const edgeHighlightColor = isDarkTheme - ? Constants.edgeColorHighlightedDarkTheme + const edgeHighlightColor = isDarkTheme + ? Constants.edgeColorHighlightedDarkTheme : Constants.edgeColorHighlightedLightTheme if (_focusedNode && graph.hasNode(_focusedNode)) {