Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
adding contractArgs in example
Browse files Browse the repository at this point in the history
  • Loading branch information
IDubuque committed Jan 3, 2024
1 parent 8e7fa22 commit f4adaa6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ import { CheckoutWithCard } from "@thirdweb-dev/react";
currency: "ETH",
},
},
// contractArgs (for thirdweb contracts)
contractArgs: {
tokenId: 0,
},
}}
onPaymentSuccess={(result) => {
console.log("Payment successful:", result);
Expand Down

0 comments on commit f4adaa6

Please sign in to comment.