♻️ Simplify text bubble content shape

Remove html and plainText field because it was redundant

Closes #386
This commit is contained in:
Baptiste Arnaud
2023-04-13 17:04:21 +02:00
parent 2cbf8348c3
commit e0a9824913
70 changed files with 545 additions and 1030 deletions

View File

@@ -30,7 +30,7 @@ export const HostBubble = (props: Props) => {
<Switch>
<Match when={props.message.type === BubbleBlockType.TEXT}>
<TextBubble
content={props.message.content as Omit<TextBubbleContent, 'richText'>}
content={props.message.content as TextBubbleContent}
typingEmulation={props.typingEmulation}
onTransitionEnd={onTransitionEnd}
/>