Skip to content

Commit 1cdec24

Browse files
committed
update on rotate prop
1 parent 1e7c4e5 commit 1cdec24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Parallax.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export function Parallax(props: PropsWithChildren<ParallaxProps>) {
123123
);
124124
}
125125
}
126-
}, [props.disabled, props.x, props.y]);
126+
}, [props.disabled, props.x, props.y, props.rotate]);
127127

128128
const Outer = props.tagOuter;
129129
const Inner = props.tagInner;

0 commit comments

Comments
 (0)