This commit is contained in:
Jamie Kyle 2023-04-20 10:03:43 -07:00 committed by GitHub
parent 1f2cde6d04
commit 0e490542a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
196 changed files with 2117 additions and 1217 deletions

View file

@ -9,7 +9,7 @@ import { Intl } from '../Intl';
import { SystemMessage } from './SystemMessage';
import { MessageTimestamp } from './MessageTimestamp';
import { Emojify } from './Emojify';
import { UserText } from '../UserText';
export type PropsData = {
sender: ConversationType;
@ -32,7 +32,9 @@ export function ChangeNumberNotification(props: Props): JSX.Element {
<Intl
id="icu:ChangeNumber--notification"
components={{
sender: <Emojify text={sender.title || sender.firstName || ''} />,
sender: (
<UserText text={sender.title || sender.firstName || ''} />
),
}}
i18n={i18n}
/>