From 1e3d156a79c8818aaaf59da1e139f04be2bc8003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Fri, 10 Jan 2025 11:12:29 +0100 Subject: [PATCH] Removing more unnecesary changes --- .../components/rhs/rhs_post_update_button.tsx | 27 ++++++------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/webapp/src/components/rhs/rhs_post_update_button.tsx b/webapp/src/components/rhs/rhs_post_update_button.tsx index 957246a9aa..b3bcf8472d 100644 --- a/webapp/src/components/rhs/rhs_post_update_button.tsx +++ b/webapp/src/components/rhs/rhs_post_update_button.tsx @@ -2,13 +2,11 @@ // See LICENSE.txt for license information. import React from 'react'; -import {FormattedMessage, useIntl} from 'react-intl'; +import {FormattedMessage} from 'react-intl'; import styled, {css} from 'styled-components'; import {DestructiveButton, PrimaryButton, TertiaryButton} from 'src/components/assets/buttons'; -import {useAIAvailable} from 'src/ai_integration'; - interface Props { collapsed: boolean; isDue: boolean; @@ -28,15 +26,13 @@ const RHSPostUpdateButton = (props: Props) => { } return ( - - - - - + + + ); }; @@ -44,13 +40,6 @@ interface CollapsedProps { collapsed: boolean; } -const ButtonsContainer = styled.div` - flex-grow: 1; - display: flex; - flex-direction: row; - gap: 2px; -`; - const PostUpdateButtonCommon = css` justify-content: center; flex: 1;