Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 45285f2

Browse files
committed
lint
1 parent 8ec6294 commit 45285f2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/structures/LoggedInView.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,10 @@ class LoggedInView extends React.Component<IProps, IState> {
214214
}
215215
return;
216216
}
217-
const currentTimezone = SettingsStore.getValue("userTimezone")
218-
// If the timezone is empty, then use the browser timezone.
219-
|| Intl.DateTimeFormat().resolvedOptions().timeZone;
217+
const currentTimezone =
218+
SettingsStore.getValue("userTimezone") ||
219+
// If the timezone is empty, then use the browser timezone.
220+
Intl.DateTimeFormat().resolvedOptions().timeZone;
220221
if (!currentTimezone || typeof currentTimezone !== "string") {
221222
return;
222223
}

0 commit comments

Comments
 (0)