mirror of
https://github.com/wukko/cobalt.git
synced 2025-06-12 13:17:45 +02:00
web/DonateOptionsCard: fix prefilled stripe amount
This commit is contained in:
@ -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");
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user