mirror of
https://github.com/System-End/site.git
synced 2026-04-19 19:45:07 +00:00
⚡️ Add options to deps array
This commit is contained in:
parent
362f88c522
commit
64fe54b137
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ const Tilt = ({ options = {}, children, ...props }) => {
|
|||
gyroscope: false,
|
||||
...options
|
||||
})
|
||||
})
|
||||
}, [options])
|
||||
return React.cloneElement(children, { ref: root })
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue