Browse Source

Donation fix

refactor
Hampus Sjöberg 4 years ago
parent
commit
aae4cee861
  1. 4
      frontend/components/Donation.tsx

4
frontend/components/Donation.tsx

@ -75,6 +75,10 @@ export function Donation() {
const amountNumber = Number.parseInt(amount || "0") * 1000;
if (Number.isNaN(amountNumber)) {
return;
}
const callback = resultJson.callback;
const resultCallback = await fetch(callback + "?amount=" + amountNumber);

Loading…
Cancel
Save