From d6cb399cf3b45c296c5c27d580a943f56f6ff46b Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Tue, 25 Jun 2024 14:54:50 +1000 Subject: [PATCH] chore: matched designs better for the NoticeBanner --- ts/components/NoticeBanner.tsx | 2 +- ts/components/conversation/SessionConversation.tsx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/components/NoticeBanner.tsx b/ts/components/NoticeBanner.tsx index 592f113db..4e257ee49 100644 --- a/ts/components/NoticeBanner.tsx +++ b/ts/components/NoticeBanner.tsx @@ -19,7 +19,7 @@ const StyledNoticeBanner = styled(Flex)` `; const StyledText = styled.span` - margin-right: var(--margins-lg); + margin-right: var(--margins-xl); `; type NoticeBannerProps = { diff --git a/ts/components/conversation/SessionConversation.tsx b/ts/components/conversation/SessionConversation.tsx index 13c16c0d4..60fe629c0 100644 --- a/ts/components/conversation/SessionConversation.tsx +++ b/ts/components/conversation/SessionConversation.tsx @@ -671,6 +671,7 @@ function OutdatedLegacyGroupBanner(props: { selectedConversation: Pick; }) { const { selectedConversation } = props; + // const dispatch = useDispatch(); const isLegacyGroup = !selectedConversation.isPrivate && @@ -681,6 +682,7 @@ function OutdatedLegacyGroupBanner(props: { { + // showLinkVisitWarningDialog('', dispatch); throw new Error('TODO'); // fixme audric }} icon="externalLink"