move button

This commit is contained in:
counterweight 2025-03-04 17:55:30 +01:00
parent 98faeb2f1b
commit aea850c642
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 21 additions and 22 deletions

View file

@ -387,5 +387,5 @@
#close-offer {
margin-left: auto;
margin-right:auto;
}
margin-right: auto;
}

View file

@ -617,8 +617,10 @@ for (const btcMethodCheckbox of btcMethodCheckboxes) {
});
}
publishOfferButton.addEventListener('click', () => {
publishOffer();
publishOfferButton.addEventListener('click', async () => {
await publishOffer();
await myOffers.getOffersFromApi();
await myOffers.render();
});
updateBtcInput();