Skip to content

Commit

Permalink
Updated text of placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Schneider-Swales committed Feb 15, 2024
1 parent 7c29872 commit 6d3485b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h3>Payment methods</h3>
</div>
</label>
<div id="other-container" class="payment-method-component-container">
Placeholder for other component
Placeholder for Afterpay component
</div>
</div>
</form>
Expand Down
2 changes: 2 additions & 0 deletions docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ window.addEventListener("DOMContentLoaded", async () => {
showCardsPaymentMethod(true);

const container = document.getElementById("component-container")

// Already drop in cards component so that it renders immediately
const cards = checkout.dropIn("cards", {
hidePaymentButton: !(payButtonType === "default")
}).mount(container);
Expand Down

0 comments on commit 6d3485b

Please sign in to comment.