Skip to content

Commit

Permalink
fix: unmount connection arrow on unmount connection (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
draedful authored Jan 10, 2025
1 parent 2323ca9 commit b5c46c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/canvas/connections/BlockConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,5 +282,6 @@ export class BlockConnection<T extends TConnection>
protected unmount(): void {
super.unmount();
this.context.batch.delete(this);
this.context.batch.delete(this.arrowShape);
}
}

0 comments on commit b5c46c4

Please sign in to comment.