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 {