From cbf7e1a7402dfb5940efb56d5bf2799d832d28f9 Mon Sep 17 00:00:00 2001 From: Thibaut Patel Date: Tue, 7 Dec 2021 11:39:07 +0100 Subject: [PATCH] Fixed unsued variable refs https://github.com/TryGhost/Admin/commit/53ed5781402e3050c0ba5cf795e5c567b0cd5df4 --- .../lib/koenig-editor/addon/components/koenig-card-product.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-product.js b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-product.js index d141be7364..74b5d9fe83 100644 --- a/ghost/admin/lib/koenig-editor/addon/components/koenig-card-product.js +++ b/ghost/admin/lib/koenig-editor/addon/components/koenig-card-product.js @@ -23,7 +23,7 @@ export default class KoenigCardProductComponent extends Component { imageMimeTypes = IMAGE_MIME_TYPES; get isEmpty() { - const {productTitle, productDescription, productUrl, productButton, productImageSrc, productRatingEnabled, productButtonEnabled, productStarRating} = this.args.payload; + const {productTitle, productDescription, productUrl, productButton, productImageSrc, productRatingEnabled, productButtonEnabled} = this.args.payload; return isBlank(productTitle) && isBlank(productDescription) && (!productButtonEnabled || (isBlank(productUrl) || isBlank(productButton))) && isBlank(productImageSrc) && !productRatingEnabled; }