From 4a603006dd71ed5d44637932ddb3e236ce05bcc1 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Fri, 13 Jan 2023 14:17:07 -0700 Subject: [PATCH] Fix test --- web/src/routes/Events.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/Events.jsx b/web/src/routes/Events.jsx index 72088f6d4..2f8fd8a9d 100644 --- a/web/src/routes/Events.jsx +++ b/web/src/routes/Events.jsx @@ -295,7 +295,7 @@ export default function Events({ path, ...props }) { return ; } - const timezone = config.ui.timezone || Intl.DateTimeFormat().resolvedOptions().timeZone; + const timezone = config.ui?.timezone || Intl.DateTimeFormat().resolvedOptions().timeZone; return (