Skip to content

Commit

Permalink
fix: don't dispose graph view (#4023)
Browse files Browse the repository at this point in the history
  • Loading branch information
NewByVector authored Nov 9, 2023
1 parent 9efe791 commit 3141593
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/x6/src/view/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@ export abstract class View<A extends EventArgs = any> extends Basecoat<A> {
return View.normalizeEvent(evt)
}

@View.dispose()
dispose() {
this.remove()
}
// @View.dispose()
// dispose() {
// this.remove()
// }
}

export namespace View {
Expand Down

0 comments on commit 3141593

Please sign in to comment.