Skip to content

Commit 021daba

Browse files
committed
update parallax controller
1 parent b10043b commit 021daba

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
}
7474
],
7575
"dependencies": {
76-
"parallax-controller": "0.1.6"
76+
"parallax-controller": "0.1.8"
7777
},
7878
"devDependencies": {
7979
"@babel/core": "^7.16.0",

src/components/Parallax.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ export function Parallax(props: PropsWithChildren<ParallaxProps>) {
8282
props: {
8383
disabled: props.disabled,
8484
// Defaults set in Parallax.defaultProps
85-
// @ts-expect-error
8685
translateX: props.x,
87-
// @ts-expect-error
8886
translateY: props.y,
8987
},
9088
};

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10153,10 +10153,10 @@ pako@~1.0.5:
1015310153
resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf"
1015410154
integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==
1015510155

10156-
parallax-controller@0.1.6:
10157-
version "0.1.6"
10158-
resolved "https://registry.yarnpkg.com/parallax-controller/-/parallax-controller-0.1.6.tgz#7081c0de0f46fc36b8ae6a384580bda097851e8c"
10159-
integrity sha512-bJ/HaifIoDG2Iq8lH9bmnf84LKOWgNNFiDl1Yr5YEcW4eBJh92HgGCrCkdZAFDlm20VmcZeqyqr5sxO9jcYzJg==
10156+
parallax-controller@0.1.8:
10157+
version "0.1.8"
10158+
resolved "https://registry.yarnpkg.com/parallax-controller/-/parallax-controller-0.1.8.tgz#487d3ff24c93cab757c4fd9f90611393d9f83b19"
10159+
integrity sha512-8pY64e0yMrpB9XQLzNqSdGdlT13PwhZnOwoA54KoK5oFnuAPrAV2/CwhPCKOGVsyuBfW6N1ginXm9p+pX0V86w==
1016010160

1016110161
parallel-transform@^1.1.0:
1016210162
version "1.2.0"

0 commit comments

Comments
 (0)