fix(engine): 🚑️ Viewer host
This commit is contained in:
@@ -52,9 +52,9 @@ export const TemplatesContent = () => {
|
|||||||
ownerId: user.id,
|
ownerId: user.id,
|
||||||
folderId,
|
folderId,
|
||||||
theme: {
|
theme: {
|
||||||
...defaultTheme,
|
...typebot.theme,
|
||||||
chat: {
|
chat: {
|
||||||
...defaultTheme.chat,
|
...typebot.theme.chat,
|
||||||
hostAvatar: { isEnabled: true, url: user.image ?? undefined },
|
hostAvatar: { isEnabled: true, url: user.image ?? undefined },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
.PhoneInputInput {
|
.PhoneInputInput {
|
||||||
padding: 1rem 0.5rem;
|
padding: 1rem 0.5rem;
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PhoneInputCountry {
|
.PhoneInputCountry {
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export type TypebotViewerProps = {
|
|||||||
|
|
||||||
export const TypebotViewer = ({
|
export const TypebotViewer = ({
|
||||||
typebot,
|
typebot,
|
||||||
apiHost = process.env.NEXT_PUBLIC_VIEWER_URL,
|
apiHost = process.env.NEXT_PUBLIC_VIEWER_URL?.split(',')[0],
|
||||||
isPreview = false,
|
isPreview = false,
|
||||||
style,
|
style,
|
||||||
predefinedVariables,
|
predefinedVariables,
|
||||||
|
|||||||
Reference in New Issue
Block a user