Fix AXO CardComponent loading

This commit is contained in:
Pedro Silva 2024-04-17 15:24:07 +01:00
parent 20a4a8e0d3
commit 9b61c090a7
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3

View file

@ -562,11 +562,10 @@ class AxoManager {
this.setStatus('validEmail', true);
this.setStatus('hasProfile', false);
this.cardComponent = await this.fastlane
.FastlaneCardComponent(
this.cardComponentData()
)
.render(this.el.paymentContainer.selector + '-form');
this.cardComponent = await this.fastlane.FastlaneCardComponent(
this.cardComponentData()
);
this.cardComponent.render(this.el.paymentContainer.selector + '-form');
}
}