Skip to content

Commit 16b566a

Browse files
committed
fix: remove unnecessary 'root' prop from ReactLenis component
1 parent 0a28313 commit 16b566a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/SmoothScrolling.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface SmoothScrollingProps {
99

1010
export default function SmoothScrolling({ children }: SmoothScrollingProps) {
1111
return (
12-
<ReactLenis root options={{ lerp: 0.1, duration: 1.2, smoothWheel: true }}>
12+
<ReactLenis options={{ lerp: 0.1, duration: 1.2, smoothWheel: true }}>
1313
{children}
1414
</ReactLenis>
1515
);

0 commit comments

Comments
 (0)