diff --git a/packages/graphics/proton/text-node-renderer.js b/packages/graphics/proton/text-node-renderer.js index c4e08c0..f29a5d4 100644 --- a/packages/graphics/proton/text-node-renderer.js +++ b/packages/graphics/proton/text-node-renderer.js @@ -65,8 +65,7 @@ export class TextNodeRenderer extends Proton.BaseRender { this.queued = []; this.stage = stage; stage.uiPromise.then(() => { - const parent = stage.ui.querySelector(selector); - this.parent = parent; + this.parent = stage.ui.querySelector(selector); }); }