From edfb44d7a803ba7a976a4930ff60302d526c71b4 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 19 Dec 2022 11:57:49 -0800 Subject: [PATCH] Change style of compose post button + remove thumbnail preview. Closes #2463 --- web/components/MainLayout.tsx | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) 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}