mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-19 23:42:03 +08:00
Fix launcher CodeQL unused helpers
This commit is contained in:
@@ -155,12 +155,6 @@ window.__MOCK_STATE__ = {
|
||||
return error && error.message ? error.message : String(error);
|
||||
}
|
||||
|
||||
function themeLabel(mode) {
|
||||
if (mode === 'light') return 'Light';
|
||||
if (mode === 'dark') return 'Dark';
|
||||
return 'System';
|
||||
}
|
||||
|
||||
function resolveTheme(state) {
|
||||
var settings = state && state.desktopSettings ? state.desktopSettings : {};
|
||||
var mode = settings.themeMode || 'system';
|
||||
@@ -188,6 +182,7 @@ window.__MOCK_STATE__ = {
|
||||
accountLabel: accountLabel,
|
||||
localUrl: localUrl,
|
||||
envCount: envCount,
|
||||
computerUseStatus: computerUseStatus,
|
||||
version: VERSION,
|
||||
logoUrl: LOGO_URL,
|
||||
platform: 'win',
|
||||
|
||||
Reference in New Issue
Block a user