From cd94a05dcce820a7f558ca478816126bd4df0297 Mon Sep 17 00:00:00 2001 From: Michael Fatemi Date: Sun, 11 Jul 2021 17:13:50 -0400 Subject: [PATCH] add "available to drive?" frontend button --- src/components/Event/Event.tsx | 1 + src/components/Event/EventCarpools.tsx | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/Event/Event.tsx b/src/components/Event/Event.tsx index 79afe58..1bcfae2 100644 --- a/src/components/Event/Event.tsx +++ b/src/components/Event/Event.tsx @@ -132,6 +132,7 @@ export default function Event({ event }: { event: IEvent }) { style={placeId != null ? { border: '2px solid ' + green } : {}} placeId={placeId} /> +
{false && (

Carpools

+
+ <>Available to drive? + {}} style={{ backgroundColor: lightgrey }}> + I'm not available + {carpools.map((carpool) => ( ))}