Skip to content

Commit

Permalink
fix(bridge-ui): change text of button to "bridge" (#13163)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com>
  • Loading branch information
Jaapiehetaapie and dantaik authored Feb 24, 2023
1 parent 2c1767c commit 0113490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bridge-ui/src/components/form/BridgeForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
let amount: string;
let amountInput: HTMLInputElement;
let requiresAllowance: boolean = true;
let requiresAllowance: boolean = false;
let btnDisabled: boolean = true;
let tokenBalance: string;
let customFee: string = "0";
Expand Down Expand Up @@ -115,7 +115,7 @@
fromChain: Chain,
signer: Signer
) {
if (!fromChain || !amt || !token || !bridgeType || !signer) return true;
if (!fromChain || !amt || !token || !bridgeType || !signer) return false;
const addr = await addrForToken();
const allowance = await $activeBridge.RequiresAllowance({
Expand Down

0 comments on commit 0113490

Please sign in to comment.