From 71024e65a61992c5b4b7359ccf478ac95764fe9f Mon Sep 17 00:00:00 2001 From: DevilsAutumn Date: Sun, 15 Dec 2024 23:14:02 +0530 Subject: [PATCH] fix breaking fe build --- frontend/src/app/(core)/gallery/[slug]/page.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/src/app/(core)/gallery/[slug]/page.tsx b/frontend/src/app/(core)/gallery/[slug]/page.tsx index 60b8a3b..378bcb9 100644 --- a/frontend/src/app/(core)/gallery/[slug]/page.tsx +++ b/frontend/src/app/(core)/gallery/[slug]/page.tsx @@ -127,14 +127,7 @@ const Page = ({ params: { slug } }: PageProps) => { ) } : prev); }} - className={` - absolute inset-0 object-cover transition-all duration-300 - ${mediaResponse?.files.find(f => f.src === src)?.isLoaded - ? 'opacity-100' - : 'opacity-0' - } - group-hover:scale-110 - `} + className="absolute inset-0 object-cover transition-all duration-30 group-hover:scale-110" /> ),