Closed Regaddi closed 8 months ago
The unhandledLines state was constantly resetting the transcript query interval. Making this a ref makes the sure that the useEffect triggering the transcript query isn't unnecessarily cleaned up over and over again, while captions are coming in.
unhandledLines
useEffect
The latest updates on your projects. Learn more about Vercel for Git ↗︎
The
unhandledLines
state was constantly resetting the transcript query interval. Making this a ref makes the sure that theuseEffect
triggering the transcript query isn't unnecessarily cleaned up over and over again, while captions are coming in.