From 45285f26ff58e8c9b2c7a8f2aac67c5573cfb410 Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Mon, 9 Sep 2024 17:30:42 +0100 Subject: [PATCH] lint --- src/components/structures/LoggedInView.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index a77b9a31855..3ead748da50 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -214,9 +214,10 @@ class LoggedInView extends React.Component { } return; } - const currentTimezone = SettingsStore.getValue("userTimezone") - // If the timezone is empty, then use the browser timezone. - || Intl.DateTimeFormat().resolvedOptions().timeZone; + const currentTimezone = + SettingsStore.getValue("userTimezone") || + // If the timezone is empty, then use the browser timezone. + Intl.DateTimeFormat().resolvedOptions().timeZone; if (!currentTimezone || typeof currentTimezone !== "string") { return; }