From 64fe54b13740bd4d00da4c76568c76345645033a Mon Sep 17 00:00:00 2001 From: Malted Date: Thu, 6 Apr 2023 22:38:22 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Add=20options=20to=20deps?= =?UTF-8?q?=20array?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/tilt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tilt.js b/components/tilt.js index 84e3fd7e..3605de25 100644 --- a/components/tilt.js +++ b/components/tilt.js @@ -14,7 +14,7 @@ const Tilt = ({ options = {}, children, ...props }) => { gyroscope: false, ...options }) - }) + }, [options]) return React.cloneElement(children, { ref: root }) }