setIsLoading false earlier (#3072)

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-07-19 19:18:31 -07:00
committed by GitHub
parent e6a2ac9c4a
commit ac120838e5

View File

@ -179,6 +179,8 @@ export const Stream = () => {
videoElement: videoRef.current,
},
})
setIsLoading(false)
}, [mediaStream])
const handleMouseDown: MouseEventHandler<HTMLDivElement> = (e) => {