diff --git a/packages/bot-engine/src/contexts/TypebotContext.tsx b/packages/bot-engine/src/contexts/TypebotContext.tsx index 8d06b2a04..e5dd8c145 100644 --- a/packages/bot-engine/src/contexts/TypebotContext.tsx +++ b/packages/bot-engine/src/contexts/TypebotContext.tsx @@ -71,7 +71,7 @@ export const TypebotContext = ({ const injectLinkedTypebot = (typebot: Typebot | PublicTypebot) => { const typebotToInject = { - id: typebot.id, + id: 'typebotId' in typebot ? typebot.typebotId : typebot.id, blocks: typebot.blocks, edges: typebot.edges, variables: typebot.variables,