From dee768dbd0056bdd2393cabb2e642af1f49fd2e8 Mon Sep 17 00:00:00 2001 From: pollutri Date: Wed, 20 May 2026 12:24:49 +0200 Subject: [PATCH] fix animation --- components/PublicGrid.tsx | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/components/PublicGrid.tsx b/components/PublicGrid.tsx index fe660f2..63b95a7 100644 --- a/components/PublicGrid.tsx +++ b/components/PublicGrid.tsx @@ -501,40 +501,25 @@ function FlipBook({ pages, onClose }: { pages: string[]; onClose: () => void })
{/* Static left page */} - {visibleLeft ? ( + {visibleLeft && (
- ) : ( -
)} {/* Static right page */} - {visibleRight ? ( + {visibleRight && (
- ) : ( -
)} {/* Flipping overlay — forward (right page rotates left) */}