Remove React Virtualized from <Timeline>

This commit is contained in:
Evan Hahn 2022-03-03 14:23:10 -06:00 committed by GitHub
parent 1eafe79905
commit 0c31ad25ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 798 additions and 2512 deletions

View file

@ -18,12 +18,13 @@ export type PropsData = {
export type PropsHousekeeping = {
i18n: LocalizerType;
now: number;
};
export type Props = PropsData & PropsHousekeeping;
export const ChangeNumberNotification: React.FC<Props> = props => {
const { i18n, sender, timestamp } = props;
const { i18n, now, sender, timestamp } = props;
return (
<SystemMessage
@ -37,7 +38,7 @@ export const ChangeNumberNotification: React.FC<Props> = props => {
i18n={i18n}
/>
&nbsp;·&nbsp;
<MessageTimestamp i18n={i18n} timestamp={timestamp} />
<MessageTimestamp i18n={i18n} now={now} timestamp={timestamp} />
</>
}
icon="phone"