From 6cd015e2e4fedebcec51cdb7e5403ea93fc229d6 Mon Sep 17 00:00:00 2001 From: Francesco Sansalvadore Date: Mon, 27 Mar 2023 09:09:23 +0200 Subject: [PATCH] lw7: fix preserve 3D on safari --- .../LaunchWeek/LaunchSection/TicketBrickWallSlider.tsx | 2 +- apps/www/components/LaunchWeek/Ticket/TicketActions.tsx | 6 +++--- apps/www/components/LaunchWeek/Ticket/TicketVisual.tsx | 8 +++++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWallSlider.tsx b/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWallSlider.tsx index bf4fe39ad82..910a66bb0ea 100644 --- a/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWallSlider.tsx +++ b/apps/www/components/LaunchWeek/LaunchSection/TicketBrickWallSlider.tsx @@ -25,7 +25,7 @@ export function TicketBrickWallSlider({ users, reverse, xOffset = 250, speed = 1 const getOgUrl = (username: string) => `${STORAGE_URL}/tickets/gallery/${username}.png` useEffect(() => { - if (swiperInstace) swiperInstace?.autoplay.run() + if (swiperInstace) swiperInstace?.autoplay?.run() }, [width]) return ( diff --git a/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx b/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx index 8da419b73b3..ef29c82d5c5 100644 --- a/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx +++ b/apps/www/components/LaunchWeek/Ticket/TicketActions.tsx @@ -57,7 +57,7 @@ export default function TicketActions({
{!sharePage ? ( <> -
+
@@ -68,7 +68,7 @@ export default function TicketActions({