From 9e6acfbcc1463d531bb3a9ea0e85a54339e691ae Mon Sep 17 00:00:00 2001 From: Can Demiralp Date: Wed, 16 Oct 2024 15:36:42 -0500 Subject: [PATCH] [ECP-9491] Remove unused variable --- view/frontend/web/js/model/payment-component-states.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/frontend/web/js/model/payment-component-states.js b/view/frontend/web/js/model/payment-component-states.js index dd7a2e94a..add8761a9 100644 --- a/view/frontend/web/js/model/payment-component-states.js +++ b/view/frontend/web/js/model/payment-component-states.js @@ -37,7 +37,7 @@ define([ }, setIsPlaceOrderAllowed: function (methodCode, isPlaceOrderAllowed) { - let state = this.getState(methodCode); + this.getState(methodCode); this.states[methodCode].isPlaceOrderAllowed(isPlaceOrderAllowed); },