From 2b0194093fbc864eb01b3b3c4bd44c937b2253f2 Mon Sep 17 00:00:00 2001 From: Sashank Aryal Date: Thu, 9 Jan 2025 17:24:10 -0600 Subject: [PATCH] remove unnecessary constructor --- app/packages/looker/src/elements/imavid/index.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/packages/looker/src/elements/imavid/index.ts b/app/packages/looker/src/elements/imavid/index.ts index 4fd424b3ad..cb44d0d1b8 100644 --- a/app/packages/looker/src/elements/imavid/index.ts +++ b/app/packages/looker/src/elements/imavid/index.ts @@ -99,12 +99,6 @@ export class ImaVidElement extends BaseElement { imageSource: HTMLCanvasElement | HTMLImageElement; - constructor() { - super(); - this.canvas = document.createElement("canvas"); - this.ctx = this.canvas.getContext("2d"); - } - getEvents(): Events { return { load: () => {