fix formatting

This commit is contained in:
Jamie Kyle 2023-03-10 10:21:21 -08:00
parent c4fc2d7208
commit 53be6c8e89
3 changed files with 6 additions and 5 deletions

View file

@ -195,7 +195,7 @@ export function ConversationHero({
title={title}
/>
)}
{isMe && (<span className="ContactModal__official-badge__large" />)}
{isMe && <span className="ContactModal__official-badge__large" />}
</h1>
{about && !isMe && (
<div className="module-about__container">

View file

@ -107,7 +107,7 @@ export function ConversationDetailsHeader({
<div>
<div className={bem('title')}>
<Emojify text={isMe ? i18n('noteToSelf') : conversation.title} />
{isMe && (<span className="ContactModal__official-badge__large" />)}
{isMe && <span className="ContactModal__official-badge__large" />}
</div>
</div>
);

View file

@ -76,9 +76,10 @@ export const ContactCheckbox: FunctionComponent<PropsType> = React.memo(
const disabled = Boolean(disabledReason);
const headerName = isMe ? (
<ContactName module={HEADER_CONTACT_NAME_CLASS_NAME}
title={i18n('noteToSelf')}
isMe={isMe}
<ContactName
module={HEADER_CONTACT_NAME_CLASS_NAME}
title={i18n('noteToSelf')}
isMe={isMe}
/>
) : (
<ContactName module={HEADER_CONTACT_NAME_CLASS_NAME} title={title} />