📦 Upgrade packages
This commit is contained in:
@ -35,7 +35,7 @@ export const InputChatBlock = ({
|
||||
) => void
|
||||
onSkip: () => void
|
||||
}) => {
|
||||
const { typebot } = useTypebot()
|
||||
const { typebot, isLoading } = useTypebot()
|
||||
const { addAnswer } = useAnswers()
|
||||
const [answer, setAnswer] = useState<string>()
|
||||
const [isEditting, setIsEditting] = useState(false)
|
||||
@ -66,6 +66,8 @@ export const InputChatBlock = ({
|
||||
setIsEditting(true)
|
||||
}
|
||||
|
||||
if (isLoading) return null
|
||||
|
||||
if (answer) {
|
||||
const avatarUrl = typebot.theme.chat.guestAvatar?.url
|
||||
return (
|
||||
|
Reference in New Issue
Block a user