From 21efb8978b3ab856cf584c7e8b5c7583c4dc6b31 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Tue, 12 Nov 2024 16:19:01 -0300 Subject: [PATCH] fix: do not dismount inscription content from view --- .../collectibles/components/collectible-item.layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/features/collectibles/components/collectible-item.layout.tsx b/src/app/features/collectibles/components/collectible-item.layout.tsx index f316e80b72..92b29c9a0d 100644 --- a/src/app/features/collectibles/components/collectible-item.layout.tsx +++ b/src/app/features/collectibles/components/collectible-item.layout.tsx @@ -32,7 +32,7 @@ export function CollectibleItemLayout({ }: CollectibleItemLayoutProps) { const [isHovered, bind] = useHover(); - const { ref, inView } = useInView(); + const { ref, inView } = useInView({ triggerOnce: true }); return (