Cast to boolean fix, thought we had them all (#3111)

pull/3112/head^2
Alex van Andel 2022-06-20 14:44:34 +01:00 committed by GitHub
parent 5ca914b32e
commit 929c3a9a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ const BookingPage = ({
<h1 className="text-bookingdark mb-4 text-xl font-semibold dark:text-white">
{eventType.title}
</h1>
{eventType.seatsPerTimeSlot && (
{!!eventType.seatsPerTimeSlot && (
<p
className={`${
booking && booking.attendees.length / eventType.seatsPerTimeSlot >= 0.5