diff --git a/ui/page/livestream/view.jsx b/ui/page/livestream/view.jsx index 723fc6273..27d006561 100644 --- a/ui/page/livestream/view.jsx +++ b/ui/page/livestream/view.jsx @@ -55,10 +55,7 @@ export default function LivestreamPage(props: Props) { }, [livestreamChannelId, isLive]); React.useEffect(() => { - if (!hasLivestreamClaim || !livestreamChannelId) { - setIsLive(false); - return; - } + if (!hasLivestreamClaim || !livestreamChannelId) return; return watchLivestreamStatus(livestreamChannelId, (state) => setIsLive(state)); }, [livestreamChannelId, setIsLive, hasLivestreamClaim]);