mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/DonateOptionsCard: fix prefilled stripe amount
This commit is contained in:
parent
14d0577895
commit
a25e0bfb04
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue