From 3a2a214220945fb25451984abea17e20b4a104bd Mon Sep 17 00:00:00 2001 From: Archey Barrell Date: Fri, 23 Jan 2026 23:01:52 +0000 Subject: [PATCH] allow locations to be null --- src/components/calendar.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/calendar.tsx b/src/components/calendar.tsx index ccab16d..e8002f1 100644 --- a/src/components/calendar.tsx +++ b/src/components/calendar.tsx @@ -81,6 +81,9 @@ function renderStatus(event: any) { } function renderLocation(location: any) { + if (location == null) { + return "To Be Confirmed"; + } return location.name + " (" + location.postcode + ")"; }