fix(SW-216): Fixes after PR

This commit is contained in:
Erik Tiekstra
2024-10-08 08:13:38 +02:00
parent 5e4ef02ebf
commit bc43f79c24
5 changed files with 13 additions and 15 deletions

View File

@@ -12,7 +12,8 @@ export default function ScrollWrapper({
className,
children,
}: ScrollWrapperProps) {
const { containerRef, showLeftShadow, showRightShadow } = useScrollShadows()
const { containerRef, showLeftShadow, showRightShadow } =
useScrollShadows<HTMLDivElement>()
const classNames = useMemo(() => {
const cls = [styles.scrollWrapper, className]