Visual bug fixes for v1.29

This commit is contained in:
Scott Nonnenberg 2019-11-19 15:03:00 -08:00
parent 1a3c41fc46
commit 0876bf7ae7
14 changed files with 124 additions and 34 deletions

View file

@ -6,6 +6,7 @@ import { MessageBody } from './conversation/MessageBody';
import { Timestamp } from './conversation/Timestamp';
import { ContactName } from './conversation/ContactName';
import { TypingAnimation } from './conversation/TypingAnimation';
import { cleanId } from './_util';
import { LocalizerType } from '../types/Util';
@ -33,10 +34,6 @@ export type PropsData = {
};
};
export function cleanId(id: string): string {
return id.replace(/[^\u0020-\u007e\u00a0-\u00ff]/g, '_');
}
type PropsHousekeeping = {
i18n: LocalizerType;
style?: Object;