diff --git a/web/components/MainLayout.tsx b/web/components/MainLayout.tsx index 7d4999363..5bb697a69 100644 --- a/web/components/MainLayout.tsx +++ b/web/components/MainLayout.tsx @@ -100,12 +100,9 @@ export const MainLayout: FC = ({ children }) => { const streamDurationString = broadcaster ? parseSecondsToDurationString(differenceInSeconds(new Date(), new Date(broadcaster.time))) : ''; - const currentThumbnail = online ? ( - current thumbnail - ) : null; + const statusIcon = online ? : ; const statusMessage = online ? `Online ${streamDurationString}` : 'Offline'; - const popoverTitle = Thumbnail; const statusIndicator = (
@@ -113,13 +110,6 @@ export const MainLayout: FC = ({ children }) => { {statusIcon}
); - const statusIndicatorWithThumb = online ? ( - - {statusIndicator} - - ) : ( - statusIndicator - ); const integrationsMenu = [ { @@ -288,28 +278,29 @@ export const MainLayout: FC = ({ children }) => {
- +
- {statusIndicatorWithThumb} + {statusIndicator}
{headerAlertMessage}