️ Add options to deps array

This commit is contained in:
Malted 2023-04-06 22:38:22 +01:00
parent 362f88c522
commit 64fe54b137
No known key found for this signature in database
GPG key ID: C1AF1C0E5180BE02

View file

@ -14,7 +14,7 @@ const Tilt = ({ options = {}, children, ...props }) => {
gyroscope: false,
...options
})
})
}, [options])
return React.cloneElement(children, { ref: root })
}