File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ const MyComponent = () => {
8787 ]
8888 })
8989
90- const swapModalSettings = {
91- collectibles: [
90+ const settings = {
91+ collectibles: [
9292 {
9393 tokenId: ' 1' ,
9494 quantity: ' 1'
@@ -100,7 +100,6 @@ const MyComponent = () => {
100100 recipientAddress: address,
101101 currencyAddress,
102102 collectionAddress,
103- enable
104103 creditCardProviders: [' sardine' ],
105104 copyrightText: ' ⓒ2024 Sequence' ,
106105 onSuccess : (txnHash : string ) => {
@@ -112,10 +111,10 @@ const MyComponent = () => {
112111 txData: purchaseTransactionData,
113112 }
114113
115- openSwapModal (swapModalSettings )
114+ openSelectPaymentModal (settings )
116115 }
117116
118- return < button onClick= {onClick}> Swap and Pay < / button>
117+ return < button onClick= {onClick}> Purchase collectible < / button>
119118}
120119```
121120
You can’t perform that action at this time.
0 commit comments