⚡ Improve old engine bubbles display robustness
This commit is contained in:
@@ -4,7 +4,6 @@ import { ImageBubble } from '@/features/blocks/bubbles/image'
|
||||
import { TextBubble } from '@/features/blocks/bubbles/textBubble'
|
||||
import { VideoBubble } from '@/features/blocks/bubbles/video'
|
||||
import { BubbleBlock, BubbleBlockType } from 'models'
|
||||
import React from 'react'
|
||||
|
||||
type Props = {
|
||||
block: BubbleBlock
|
||||
|
||||
@@ -307,7 +307,7 @@ const ChatChunks = ({
|
||||
unmountOnExit
|
||||
in={isDefined(input)}
|
||||
>
|
||||
{input && (
|
||||
{input ? (
|
||||
<InputChatBlock
|
||||
block={input}
|
||||
onTransitionEnd={onDisplayNextBlock}
|
||||
@@ -315,6 +315,8 @@ const ChatChunks = ({
|
||||
hasAvatar={hostAvatar.isEnabled}
|
||||
hasGuestAvatar={hasGuestAvatar}
|
||||
/>
|
||||
) : (
|
||||
<div />
|
||||
)}
|
||||
</CSSTransition>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user