chore: matched designs better for the NoticeBanner

pull/3052/head
Audric Ackermann 11 months ago
parent a9122be2f1
commit d6cb399cf3

@ -19,7 +19,7 @@ const StyledNoticeBanner = styled(Flex)`
`;
const StyledText = styled.span`
margin-right: var(--margins-lg);
margin-right: var(--margins-xl);
`;
type NoticeBannerProps = {

@ -671,6 +671,7 @@ function OutdatedLegacyGroupBanner(props: {
selectedConversation: Pick<ReduxConversationType, 'id' | 'isPrivate' | 'isPublic'>;
}) {
const { selectedConversation } = props;
// const dispatch = useDispatch();
const isLegacyGroup =
!selectedConversation.isPrivate &&
@ -681,6 +682,7 @@ function OutdatedLegacyGroupBanner(props: {
<NoticeBanner
text={window.i18n('upgradeYourGroupBefore')}
onButtonClick={() => {
// showLinkVisitWarningDialog('', dispatch);
throw new Error('TODO'); // fixme audric
}}
icon="externalLink"

Loading…
Cancel
Save