Skip to content

Commit

Permalink
- removed strange setTimeout 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Zharich committed Jan 16, 2024
1 parent 8873d19 commit 3228695
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/ketcher-core/src/domain/AttachmentPoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ export class AttachmentPoint {
}

public removeAttachmentPoint() {
const remove = () => {
this.element?.remove();
};
setTimeout(remove, 1);
this.element?.remove();
}

private renderAttachmentPointByCoordinates(
Expand Down

0 comments on commit 3228695

Please sign in to comment.