🩹 (js) Move data-blockid to the right element
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/js",
|
||||
"version": "0.0.29",
|
||||
"version": "0.0.30",
|
||||
"description": "Javascript library to display typebots on your website",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
|
@ -45,7 +45,7 @@ export const ChatChunk = (props: Props) => {
|
||||
|
||||
return (
|
||||
<div class="flex w-full">
|
||||
<div class="flex flex-col w-full min-w-0" data-blockid={props.input?.id}>
|
||||
<div class="flex flex-col w-full min-w-0">
|
||||
<div class="flex">
|
||||
<Show
|
||||
when={
|
||||
|
@ -66,7 +66,10 @@ export const InputChatBlock = (props: Props) => {
|
||||
)}
|
||||
</Match>
|
||||
<Match when={isNotDefined(answer())}>
|
||||
<div class="flex justify-end animate-fade-in">
|
||||
<div
|
||||
class="flex justify-end animate-fade-in"
|
||||
data-blockid={props.block.id}
|
||||
>
|
||||
{props.hasHostAvatar && (
|
||||
<div
|
||||
class={
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@typebot.io/react",
|
||||
"version": "0.0.29",
|
||||
"version": "0.0.30",
|
||||
"description": "React library to display typebots on your website",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
Reference in New Issue
Block a user