We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78a79cc commit 65f58f4Copy full SHA for 65f58f4
exercises/04.dom/02.problem.deps/index.tsx
@@ -38,7 +38,8 @@ function Tilt({
38
return (
39
<div
40
className="tilt-root"
41
- // 🐨 replace this ref prop with the tiltRef
+ // 🐨 replace the contents of this ref prop with a reference to tiltRef
42
+ // 💰 ref={tiltRef}
43
ref={(tiltNode: HTMLVanillaTiltElement) => {
44
// 🐨 move all of this to the useEffect callback
45
if (!tiltNode) return
0 commit comments