A platform for community discussion. Free, open, simple.
DEV: Remove pointless empty willDestroy in wrap-node-view (#37520)
Samcd07d0242921
diff --git a/frontend/discourse/app/static/prosemirror/components/wrap-node-view.gjs b/frontend/discourse/app/static/prosemirror/components/wrap-node-view.gjsindex f3d050ea24f..d69c99a35bc 100644--- a/frontend/discourse/app/static/prosemirror/components/wrap-node-view.gjs+++ b/frontend/discourse/app/static/prosemirror/components/wrap-node-view.gjs@@ -14,10 +14,6 @@ export default class WrapNodeView extends Component {this.args.onSetup?.(this);}- willDestroy() {- super.willDestroy(...arguments);- }-get isInline() {return this.args.node.type.name === "wrap_inline";}