From 4ce20d3058917b76a64d9f78db3c8c2a66c08ff8 Mon Sep 17 00:00:00 2001 From: Anthoula Wojczak <awojczak@adobe.com> Date: Mon, 23 Sep 2024 16:35:16 -0500 Subject: [PATCH] USF-1510: Cart Summary has a Footer Slot - fix lint --- blocks/commerce-cart-summary/commerce-cart-summary.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/blocks/commerce-cart-summary/commerce-cart-summary.js b/blocks/commerce-cart-summary/commerce-cart-summary.js index b57214dcb9..c8da090278 100644 --- a/blocks/commerce-cart-summary/commerce-cart-summary.js +++ b/blocks/commerce-cart-summary/commerce-cart-summary.js @@ -33,10 +33,9 @@ export default async function decorate(block) { const discount = document.createElement('div'); discount.style.color = '#3d3d3d'; discount.innerText = label; - ctx.appendChild(discount); + return ctx.appendChild(discount); }); } - return ctx; }, }, })(block);