From 15f98633950a5b4af10ab8567fa877c9ebaeefde Mon Sep 17 00:00:00 2001 From: Abby Cabunoc Mayes Date: Thu, 20 Apr 2023 23:11:11 -0400 Subject: [PATCH] remove scroll animation #64 --- components/home/anchor-navigation/AnchorNavigation.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/home/anchor-navigation/AnchorNavigation.jsx b/components/home/anchor-navigation/AnchorNavigation.jsx index cfcec6a..2acfa57 100644 --- a/components/home/anchor-navigation/AnchorNavigation.jsx +++ b/components/home/anchor-navigation/AnchorNavigation.jsx @@ -39,7 +39,7 @@ const AnchorNavigation = ({ containerRef }) => { .map((node) => getViewPercentage(node)) .findIndex((percent) => percent >= 50) - setAnimationStep(percents) + //setAnimationStep(percents) } window.addEventListener('scroll', handleScroll)