We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea02e6c commit 0bb8138Copy full SHA for 0bb8138
packages/thirdweb/src/react/web/ui/TransactionButton/DepositScreen.tsx
@@ -131,7 +131,9 @@ export function DepositScreen(props: {
131
: transactionCostAndData.transactionValueWei;
132
133
const openFaucetLink = () => {
134
- window.open(`https://thirdweb.com/${props.tx.chain.id}`);
+ window.open(
135
+ `https://thirdweb.com/${props.tx.chain.id}?utm_source=ub_deposit`,
136
+ );
137
};
138
139
return (
@@ -146,7 +148,7 @@ export function DepositScreen(props: {
146
148
<Text size="xs" center color="danger" multiline>
147
149
You need{" "}
150
{formatNumber(
- Number(
151
+ Number.parseFloat(
152
toTokens(requiredFunds, transactionCostAndData.decimals),
153
),
154
5,
0 commit comments