diff --git a/beta/src/content/learn/escape-hatches.md b/beta/src/content/learn/escape-hatches.md index 2c8f1e87..1ce1ac22 100644 --- a/beta/src/content/learn/escape-hatches.md +++ b/beta/src/content/learn/escape-hatches.md @@ -117,7 +117,7 @@ function VideoPlayer({ src, isPlaying }) { } else { ref.current.pause(); } - }); + }, [isPlaying]); return