ICU types

This commit is contained in:
Fedor Indutny
2024-03-04 10:03:11 -08:00
committed by GitHub
parent 38adef4233
commit 78f4e96297
42 changed files with 583 additions and 1182 deletions

View File

@@ -72,8 +72,12 @@ const renderPerson = (
isMe?: boolean;
title: string;
}>
): ReactNode =>
person.isMe ? i18n('icu:you') : <ContactName title={person.title} />;
): JSX.Element =>
person.isMe ? (
<Intl i18n={i18n} id="icu:you" />
) : (
<ContactName title={person.title} />
);
export const MessageSearchResult: FunctionComponent<PropsType> = React.memo(
function MessageSearchResult({