From cb86f6bcfc7d5cf0126b1c4b162fef9dc0556b2b Mon Sep 17 00:00:00 2001 From: Lanskikh Date: Mon, 7 Oct 2024 13:05:07 +0500 Subject: [PATCH] fixes --- src/components/Main/Products/Tabs/ForTeachingTab.tsx | 2 +- src/components/Main/Products/Tabs/SimulatorsTab.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Main/Products/Tabs/ForTeachingTab.tsx b/src/components/Main/Products/Tabs/ForTeachingTab.tsx index ee9dae3..a61719c 100644 --- a/src/components/Main/Products/Tabs/ForTeachingTab.tsx +++ b/src/components/Main/Products/Tabs/ForTeachingTab.tsx @@ -13,7 +13,7 @@ export function ForTeachingTab() { const imgRef = useRef(null); - const imgInView = useInView(imgRef, { once: true, amount: 'all' }); + const imgInView = useInView(imgRef, { once: true }); return (
(null); - const titleInView = useInView(titleRef, { once: true, amount: 'all' }); + const titleInView = useInView(titleRef, { once: true }); const imgRef = useRef(null); - const imgInView = useInView(imgRef, { once: true, amount: 'all' }); + const imgInView = useInView(imgRef, { once: true }); return (