code refactoring
This commit is contained in:
@@ -66,7 +66,8 @@ const LiveStreamMonitorView: React.FC = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<LivestreamSpeedDial onOpen={() => setOpenDialog(s => !s)} onStopAll={stopAll} />
|
<LivestreamSpeedDial onOpen={() => setOpenDialog(s => !s)} onStopAll={stopAll} />
|
||||||
{progress && Object.keys(progress).length === 0 ?
|
{
|
||||||
|
!progress || Object.keys(progress).length === 0 ?
|
||||||
<NoLivestreams /> :
|
<NoLivestreams /> :
|
||||||
<Container maxWidth="xl" sx={{ mt: 4, mb: 8 }}>
|
<Container maxWidth="xl" sx={{ mt: 4, mb: 8 }}>
|
||||||
<Paper sx={{
|
<Paper sx={{
|
||||||
|
|||||||
Reference in New Issue
Block a user