Skip to content

Your lightweight open-source personal agent.

chore(webui): remove useless timezone assignment

Xubin Ren7aa5e620be5d
diff --git a/webui/src/components/settings/SettingsView.tsx b/webui/src/components/settings/SettingsView.tsx
index 7a12982c2..66792e7f0 100644
--- a/webui/src/components/settings/SettingsView.tsx
+++ b/webui/src/components/settings/SettingsView.tsx
@@ -4755,7 +4755,7 @@ function timezonesWithCurrent(current: string): string[] {
const intl = Intl as typeof Intl & {
supportedValuesOf?: (key: "timeZone") => string[];
};
- let values: string[] = [];
+ let values: string[];
try {
values = intl.supportedValuesOf?.("timeZone") ?? [];
} catch {