2
0

fix: ️ Improve inputs responsivity

This commit is contained in:
Baptiste Arnaud
2022-03-22 15:32:48 +01:00
parent bd702f2eba
commit 03aadab409
5 changed files with 52 additions and 34 deletions

View File

@ -324,10 +324,12 @@ export const parseNewTypebot = ({
ownerId,
folderId,
name,
ownerAvatarUrl,
}: {
ownerId: string
folderId: string | null
name: string
ownerAvatarUrl?: string
}): Omit<
Typebot,
| 'createdAt'
@ -358,7 +360,13 @@ export const parseNewTypebot = ({
blocks: [startBlock],
edges: [],
variables: [],
theme: defaultTheme,
theme: {
...defaultTheme,
chat: {
...defaultTheme.chat,
hostAvatar: { isEnabled: true, url: ownerAvatarUrl },
},
},
settings: defaultSettings,
}
}