2
0

build: 🩹 Fix build

This commit is contained in:
Baptiste Arnaud
2022-03-14 16:14:42 +01:00
parent aeb06433af
commit ec8a27e972
11 changed files with 26 additions and 27 deletions

View File

@ -16,7 +16,7 @@ export const PopupEmbedCode = ({ delay }: PopupEmbedCodeProps & FlexProps) => {
const { typebot } = useTypebot()
const snippet = prettier.format(
createSnippet({
publishId: typebot?.publicId ?? '',
url: `${process.env.NEXT_PUBLIC_VIEWER_URL}/${typebot?.publicId}`,
delay,
}),
{