diff --git a/src/components/MaskedScroll.tsx b/src/components/MaskedScroll.tsx index 0e1ad585..8e2eb7f8 100644 --- a/src/components/MaskedScroll.tsx +++ b/src/components/MaskedScroll.tsx @@ -14,7 +14,7 @@ export default function MaskedScroll({ children, ...props }: HTMLAttributes & -Parameters[0]) { +Omit[0], 'ref'>) { const ref = useRef(null); const { styleMask } = useMaskedScroll({