From 1cafa328dd1af14f351ba347191cd08661eca47f Mon Sep 17 00:00:00 2001 From: dougfabris Date: Thu, 19 Jan 2023 20:52:10 -0300 Subject: [PATCH] chore: fix ButtonGroup prop --- .../VerticalBar/VerticalBarActions.tsx | 2 +- .../attachments/default/ActionAttachtment.tsx | 2 +- .../client/sidebar/footer/voip/VoipFooter.tsx | 4 +- .../tabs/AppDetails/AppDetails.tsx | 2 +- .../src/components/Card/CardFooter.tsx | 2 +- .../src/components/Header/ToolBox/ToolBox.tsx | 2 +- .../VideoConfPopupControllers.tsx | 2 +- .../VideoConfPopupFooterButtons.tsx | 2 +- .../src/RegisterFormDisabled.tsx | 3 +- yarn.lock | 78 ++++++++++++++++--- 10 files changed, 78 insertions(+), 21 deletions(-) diff --git a/apps/meteor/client/components/VerticalBar/VerticalBarActions.tsx b/apps/meteor/client/components/VerticalBar/VerticalBarActions.tsx index 2373bf8837698..8615eea2917ba 100644 --- a/apps/meteor/client/components/VerticalBar/VerticalBarActions.tsx +++ b/apps/meteor/client/components/VerticalBar/VerticalBarActions.tsx @@ -2,6 +2,6 @@ import { ButtonGroup } from '@rocket.chat/fuselage'; import type { ReactElement, ComponentProps } from 'react'; import React, { memo } from 'react'; -const VerticalBarActions = (props: ComponentProps): ReactElement => ; +const VerticalBarActions = (props: ComponentProps): ReactElement => ; export default memo(VerticalBarActions); diff --git a/apps/meteor/client/components/message/content/attachments/default/ActionAttachtment.tsx b/apps/meteor/client/components/message/content/attachments/default/ActionAttachtment.tsx index e726cbb2df2ce..6e81c7c152960 100644 --- a/apps/meteor/client/components/message/content/attachments/default/ActionAttachtment.tsx +++ b/apps/meteor/client/components/message/content/attachments/default/ActionAttachtment.tsx @@ -6,7 +6,7 @@ import React from 'react'; import ActionAttachmentButton from './ActionAttachmentButton'; export const ActionAttachment: FC = ({ actions }) => ( - + {actions .filter( ({ type, msg_in_chat_window: msgInChatWindow, url, image_url: image, text }) => diff --git a/apps/meteor/client/sidebar/footer/voip/VoipFooter.tsx b/apps/meteor/client/sidebar/footer/voip/VoipFooter.tsx index 0d88846204b21..49f00ee14a7dc 100644 --- a/apps/meteor/client/sidebar/footer/voip/VoipFooter.tsx +++ b/apps/meteor/client/sidebar/footer/voip/VoipFooter.tsx @@ -91,7 +91,7 @@ export const VoipFooter = ({ {title} {(callerState === 'IN_CALL' || callerState === 'ON_HOLD') && ( - e.stopPropagation()}> + e.stopPropagation()}> - + {(callerState === 'IN_CALL' || callerState === 'ON_HOLD' || callerState === 'OFFER_SENT') && (