2
0

fix(embed): 📝 initContainer typo

This commit is contained in:
Baptiste Arnaud
2022-05-20 08:06:27 -07:00
parent a178124ee9
commit 24b077c0e2
2 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ const parseContainerSnippet = ({
backgroundColor,
hiddenVariables,
})
return `import {initContainer} from "typebot-js";
return `import Typebot from "typebot-js";
const Component = () => {
useEffect(()=> {
@ -98,7 +98,7 @@ const parsePopupSnippet = ({
hiddenVariables,
delay,
})
return `import {initPopup} from "typebot-js";
return `import Typebot from "typebot-js";
const Component = () => {
useEffect(()=> {
@ -151,7 +151,7 @@ const parseBubbleSnippet = ({
proactiveMessage,
button,
})
return `import {initBubble} from "typebot-js";
return `import Typebot from "typebot-js";
const Component = () => {
useEffect(()=> {