This commit is contained in:
frontend perkafean
2024-09-08 11:54:34 +00:00
parent 112837b20e
commit 762bee40bb
6 changed files with 56 additions and 17 deletions

View File

@@ -15,12 +15,12 @@ export async function confirmTransaction(transactionId) {
},
}
);
if (!response.ok) {
return false;
}
return true;
const res = await response.json();
return res;
} catch (error) {
console.error("Error:", error);
}