2
0

♻️ 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

@ -38,7 +38,7 @@ export const TextBubble = ({ block, onTransitionEnd }: Props) => {
if (!isTyping || isLoading) return
const typingTimeout = computeTypingDuration(
block.content.plainText,
block.content.plainText ?? '',
typebot.settings?.typingEmulation ?? defaultTypingEmulation
)
const timeout = setTimeout(() => {