From 0122433eee069f72042ebc84229c5cf79664b981 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 20 Mar 2025 03:35:10 +0800 Subject: [PATCH] Fix linting --- lightrag_webui/src/components/graph/Settings.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lightrag_webui/src/components/graph/Settings.tsx b/lightrag_webui/src/components/graph/Settings.tsx index de50d276..76da9621 100644 --- a/lightrag_webui/src/components/graph/Settings.tsx +++ b/lightrag_webui/src/components/graph/Settings.tsx @@ -125,7 +125,7 @@ export default function Settings() { const graphLayoutMaxIterations = useSettingsStore.use.graphLayoutMaxIterations() const enableHealthCheck = useSettingsStore.use.enableHealthCheck() - + const setEnableNodeDrag = useCallback( () => useSettingsStore.setState((pre) => ({ enableNodeDrag: !pre.enableNodeDrag })), [] @@ -197,7 +197,7 @@ export default function Settings() { }, []) const { t } = useTranslation(); - + const saveSettings = () => setOpened(false); const toggleSettings = () => setOpened(!opened); @@ -205,9 +205,9 @@ export default function Settings() { <> -