fix double rendering
This commit is contained in:
parent
a3f166089a
commit
0f889f6361
1 changed files with 1 additions and 3 deletions
|
|
@ -550,9 +550,7 @@ class MyOffers {
|
|||
async getOffersFromApi() {
|
||||
const offersResponse = await fetch('/api/publickey-offers');
|
||||
|
||||
if (!offersResponse.ok) {
|
||||
this.offers = [];
|
||||
}
|
||||
this.offers = [];
|
||||
|
||||
const offersData = (await offersResponse.json()).data;
|
||||
if (offersResponse.ok) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue