web/DonateOptionsCard: fix prefilled stripe amount

This commit is contained in:
wukko 2024-08-06 16:48:39 +06:00
parent 14d0577895
commit a25e0bfb04
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -15,7 +15,7 @@
const donateStripe = (amount: number) => {
const url = new URL(donate.stripe);
url.searchParams.set("__prefilled_amount", amount.toString());
url.searchParams.set("__prefilled_amount", (amount * 100).toString());
window.open(url, "_blank");
};