🐛 (editor) Fix edges connection issue when item.blockId does not match
This commit is contained in:
@@ -141,7 +141,8 @@ export const SourceEndpoint = ({
|
||||
borderWidth="3.5px"
|
||||
shadow={`sm`}
|
||||
borderColor={
|
||||
previewingEdge?.from.blockId === source.blockId &&
|
||||
previewingEdge &&
|
||||
previewingEdge.from.blockId === source.blockId &&
|
||||
previewingEdge.from.itemId === source.itemId
|
||||
? connectedColor
|
||||
: color
|
||||
|
||||
Reference in New Issue
Block a user