From ad9cf9c31a764b74e86e6042c6c28cedf10f7c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Horv=C3=A1th?= Date: Sat, 27 Jan 2024 23:01:09 +0100 Subject: [PATCH] minor --- examples/basic/pages/index/+Page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/basic/pages/index/+Page.tsx b/examples/basic/pages/index/+Page.tsx index 8bfa28af..3882dbe4 100644 --- a/examples/basic/pages/index/+Page.tsx +++ b/examples/basic/pages/index/+Page.tsx @@ -34,7 +34,7 @@ const DateTime = ({ date, format }: { date: Date; format: (date: Date) => string localFormattedDate = allFormattedDates[localOffsetHours] } else { //@ts-ignore - localFormattedDate = window[`localFormattedDate${key}`] + localFormattedDate = window[`localFormattedDate${key}`] ?? format(date) } return (