Browse Source

donation: Small fix

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

2
frontend/components/Donation.tsx

@ -73,7 +73,7 @@ export function Donation() {
resultJson.minSendable
);
const amountNumber = Number.parseInt(amount || "0") * 1000;
const amountNumber = Number.parseInt(amount!) * 1000;
if (Number.isNaN(amountNumber)) {
return;

Loading…
Cancel
Save