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,