Skip to content

Commit

Permalink
fusionSeriesAsset: use quantity from form in listItem
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Apr 13, 2024
1 parent 613778a commit 67dc398
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pages/createFusionSeriesAssets.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,14 @@ function CreateFusionSeriesNft(props) {
let tokenId = value.toNumber();
let forAuction = false;
let endTime = 0;
await listItem(fusionSeriesContarct, tokenId, price, forAuction, endTime);
await listItem(
fusionSeriesContarct,
tokenId,
price,
formInput.quantity,
forAuction,
endTime
);
} catch (e) {
transactionFailed();
console.log(e);
Expand All @@ -248,6 +255,7 @@ function CreateFusionSeriesNft(props) {
fusionSeriesContarct,
tokenId,
price,
quantity,
forAuction,
endTime
) => {
Expand All @@ -266,7 +274,7 @@ function CreateFusionSeriesNft(props) {
contractFusionSeriesAddress,
tokenId,
price,
1,
quantity,
forAuction,
endTime
);
Expand Down

0 comments on commit 67dc398

Please sign in to comment.