From d0390fcb8cec42d822b568467fddfe226d1dd26e Mon Sep 17 00:00:00 2001 From: Jack Farrant <3439407+JHFarrant@users.noreply.github.com> Date: Fri, 31 May 2024 13:59:02 +0100 Subject: [PATCH] Hide share drawer completely when no artists selected (#9) --- components/itinerary.tsx | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/components/itinerary.tsx b/components/itinerary.tsx index 0c9f631..79d33fb 100644 --- a/components/itinerary.tsx +++ b/components/itinerary.tsx @@ -265,7 +265,7 @@ const Itinearry = ({ position="bottom" backdrop={false} className="bg-wa-background dark:bg-wa-background-dark p-2" - edge={true} + edge={false} >
@@ -282,17 +282,22 @@ const Itinearry = ({
- + {showShareDrawer && ( + + )}