diff --git a/app/assets/javascripts/admin/components/themes-list-item.js.es6 b/app/assets/javascripts/admin/components/themes-list-item.js.es6 index 06ee549d51a..2c4a5265b8a 100644 --- a/app/assets/javascripts/admin/components/themes-list-item.js.es6 +++ b/app/assets/javascripts/admin/components/themes-list-item.js.es6 @@ -44,7 +44,7 @@ export default Component.extend({ animate(isInitial) { const $container = $(this.element); const $list = $(this.element.querySelector(".components-list")); - if ($list.length === 0 || ENV.environment === 'test') { + if ($list.length === 0 || ENV.environment === "test") { return; } const duration = 300; diff --git a/app/assets/javascripts/discourse/widgets/connector.js.es6 b/app/assets/javascripts/discourse/widgets/connector.js.es6 index 02d5ec6e9c1..9701f4c80ab 100644 --- a/app/assets/javascripts/discourse/widgets/connector.js.es6 +++ b/app/assets/javascripts/discourse/widgets/connector.js.es6 @@ -22,9 +22,7 @@ export default class Connector { ); } - const container = getOwner - ? getOwner(mounted) - : mounted.container; + const container = getOwner ? getOwner(mounted) : mounted.container; let view;