Fix linting

This commit is contained in:
yangdx
2025-04-04 22:52:50 +08:00
parent 29d01e1c74
commit 4851f4e01e

View File

@@ -49,7 +49,7 @@ const useBackendStateStoreBase = create<BackendState>()((set) => ({
health.api_version || null health.api_version || null
); );
} }
// Update custom title information if health check returns it // Update custom title information if health check returns it
if (health.webui_title || health.webui_description) { if (health.webui_title || health.webui_description) {
useAuthStore.getState().setCustomTitle( useAuthStore.getState().setCustomTitle(
@@ -232,7 +232,7 @@ export const useAuthStore = create<AuthState>(set => {
} else { } else {
localStorage.removeItem('LIGHTRAG-WEBUI-TITLE'); localStorage.removeItem('LIGHTRAG-WEBUI-TITLE');
} }
if (webuiDescription) { if (webuiDescription) {
localStorage.setItem('LIGHTRAG-WEBUI-DESCRIPTION', webuiDescription); localStorage.setItem('LIGHTRAG-WEBUI-DESCRIPTION', webuiDescription);
} else { } else {