yangdx commited on
Commit
e6a2d9c
·
1 Parent(s): 41f0b52

Fix linting

Browse files
Files changed (1) hide show
  1. lightrag_webui/src/stores/state.ts +2 -2
lightrag_webui/src/stores/state.ts CHANGED
@@ -90,7 +90,7 @@ const initAuthState = (): { isAuthenticated: boolean; isGuestMode: boolean; core
90
  const token = localStorage.getItem('LIGHTRAG-API-TOKEN');
91
  const coreVersion = localStorage.getItem('LIGHTRAG-CORE-VERSION');
92
  const apiVersion = localStorage.getItem('LIGHTRAG-API-VERSION');
93
-
94
  if (!token) {
95
  return {
96
  isAuthenticated: false,
@@ -138,7 +138,7 @@ export const useAuthStore = create<AuthState>(set => {
138
 
139
  logout: () => {
140
  localStorage.removeItem('LIGHTRAG-API-TOKEN');
141
-
142
  const coreVersion = localStorage.getItem('LIGHTRAG-CORE-VERSION');
143
  const apiVersion = localStorage.getItem('LIGHTRAG-API-VERSION');
144
 
 
90
  const token = localStorage.getItem('LIGHTRAG-API-TOKEN');
91
  const coreVersion = localStorage.getItem('LIGHTRAG-CORE-VERSION');
92
  const apiVersion = localStorage.getItem('LIGHTRAG-API-VERSION');
93
+
94
  if (!token) {
95
  return {
96
  isAuthenticated: false,
 
138
 
139
  logout: () => {
140
  localStorage.removeItem('LIGHTRAG-API-TOKEN');
141
+
142
  const coreVersion = localStorage.getItem('LIGHTRAG-CORE-VERSION');
143
  const apiVersion = localStorage.getItem('LIGHTRAG-API-VERSION');
144