Remove useless dcc check in cart

This commit is contained in:
Alex P 2023-02-15 16:52:16 +02:00
parent 5dd0931c0f
commit 6a0592f58b
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -41,9 +41,7 @@ class CartBootstrap {
}
shouldRender() {
return document.querySelector(this.gateway.button.wrapper) !==
null || document.querySelector(this.gateway.hosted_fields.wrapper) !==
null;
return document.querySelector(this.gateway.button.wrapper) !== null;
}
render() {