chore(webui): remove useless timezone assignment
This commit is contained in:
@@ -4755,7 +4755,7 @@ function timezonesWithCurrent(current: string): string[] {
|
|||||||
const intl = Intl as typeof Intl & {
|
const intl = Intl as typeof Intl & {
|
||||||
supportedValuesOf?: (key: "timeZone") => string[];
|
supportedValuesOf?: (key: "timeZone") => string[];
|
||||||
};
|
};
|
||||||
let values: string[] = [];
|
let values: string[];
|
||||||
try {
|
try {
|
||||||
values = intl.supportedValuesOf?.("timeZone") ?? [];
|
values = intl.supportedValuesOf?.("timeZone") ?? [];
|
||||||
} catch {
|
} catch {
|
||||||
|
|||||||
Reference in New Issue
Block a user