From acd3fd9fa024903d35fba4d7bc6f34397ac6d50a Mon Sep 17 00:00:00 2001 From: yangdx Date: Sat, 22 Mar 2025 03:41:52 +0800 Subject: [PATCH] Fix linting --- lightrag_webui/src/stores/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag_webui/src/stores/state.ts b/lightrag_webui/src/stores/state.ts index 17ab0b13..7f0e89a1 100644 --- a/lightrag_webui/src/stores/state.ts +++ b/lightrag_webui/src/stores/state.ts @@ -90,7 +90,7 @@ const initAuthState = (): { isAuthenticated: boolean; isGuestMode: boolean; core const token = localStorage.getItem('LIGHTRAG-API-TOKEN'); const coreVersion = localStorage.getItem('LIGHTRAG-CORE-VERSION'); const apiVersion = localStorage.getItem('LIGHTRAG-API-VERSION'); - + if (!token) { return { isAuthenticated: false, @@ -138,7 +138,7 @@ export const useAuthStore = create(set => { logout: () => { localStorage.removeItem('LIGHTRAG-API-TOKEN'); - + const coreVersion = localStorage.getItem('LIGHTRAG-CORE-VERSION'); const apiVersion = localStorage.getItem('LIGHTRAG-API-VERSION');