diff --git a/apps/site/hooks/react-client/useNavigationState.ts b/apps/site/hooks/react-client/useNavigationState.ts index dbdb093ac6e25..ba1733174515d 100644 --- a/apps/site/hooks/react-client/useNavigationState.ts +++ b/apps/site/hooks/react-client/useNavigationState.ts @@ -34,7 +34,6 @@ const useNavigationState = ( return () => element.removeEventListener('scroll', handleScroll); } // We need this effect to run only on mount - // eslint-disable-next-line react-hooks/exhaustive-deps }, []); };