🐛 (editor) Fix edges connection issue when item.blockId does not match

This commit is contained in:
Baptiste Arnaud
2023-08-15 07:53:14 +02:00
parent 22cedb379d
commit 1cc282a5fc
2 changed files with 6 additions and 2 deletions

View File

@@ -116,7 +116,10 @@ export const ItemNode = ({
<SourceEndpoint
source={{
groupId: typebot.groups[indices.groupIndex].id,
blockId: item.blockId,
blockId:
typebot.groups[indices.groupIndex].blocks[
indices.blockIndex
].id,
itemId: item.id,
}}
pos="absolute"