From 314e89e587a9a5cb9870908b8ff2f8d2634a1519 Mon Sep 17 00:00:00 2001 From: Stephen Leisy Date: Thu, 20 Feb 2025 12:15:04 -0800 Subject: [PATCH] changes hell 2. --- src/components/navigation/CursorHoverPill.tsx | 3 +-- src/hooks/useScrolledToBottom.tsx | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/navigation/CursorHoverPill.tsx b/src/components/navigation/CursorHoverPill.tsx index 9d56990..e9378a9 100644 --- a/src/components/navigation/CursorHoverPill.tsx +++ b/src/components/navigation/CursorHoverPill.tsx @@ -3,8 +3,7 @@ import { chakra } from '@chakra-ui/react'; import { IPositionState } from '@/types/IPositionState'; const ChakraBox = chakra(motion.div, { - // @ts-expect-error - // @TODO: Need to cricle back and properly set type. + // @ts-expect-error: @TODO: Need to circle back and properly set type. shouldForwardProp: isValidMotionProp, }); diff --git a/src/hooks/useScrolledToBottom.tsx b/src/hooks/useScrolledToBottom.tsx index ac4bef4..83954e3 100644 --- a/src/hooks/useScrolledToBottom.tsx +++ b/src/hooks/useScrolledToBottom.tsx @@ -50,7 +50,8 @@ export const useScrolledToBottom = ( } else { setIsAtBottom(false); } - }, [pathname, scrollBoxRef]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [pathname]); return { handleScroll,