diff --git a/packages/rocketchat-ui-vrecord/client/VRecDialog.js b/packages/rocketchat-ui-vrecord/client/VRecDialog.js index fe1588de8057f879ee8ec7180c10214c3531d29b..dd80212f61a869f7e61c7d01e3fa1c8600effe77 100644 --- a/packages/rocketchat-ui-vrecord/client/VRecDialog.js +++ b/packages/rocketchat-ui-vrecord/client/VRecDialog.js @@ -1,9 +1,9 @@ export const VRecDialog = new class { - static initClass() { - this.prototype.opened = false; - this.prototype.initiated = false; - this.prototype.width = 400; - this.prototype.height = 280; + constructor() { + this.opened = false; + this.initiated = false; + this.width = 400; + this.height = 280; } init() {