From 9980dcad6ba6fe61d44d8e44a9cfac3a1088fb8d Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Wed, 15 Sep 2021 15:27:55 +0100 Subject: [PATCH] Fixed booking page not rendering due to missing linked event type (#654) --- pages/bookings/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/bookings/index.tsx b/pages/bookings/index.tsx index 58daef56b4..c0c50d22dc 100644 --- a/pages/bookings/index.tsx +++ b/pages/bookings/index.tsx @@ -57,7 +57,7 @@ export default function Bookings({ bookings }) { )}
- {booking.eventType.team && {booking.eventType.team.name}: } + {booking.eventType?.team && {booking.eventType.team.name}: } {booking.title}