From c1b490d5bde6ae7d4ecf1edd0627864a35e2b891 Mon Sep 17 00:00:00 2001 From: jeff <113397187+cyberhorsey@users.noreply.github.com> Date: Wed, 30 Nov 2022 07:44:15 -0800 Subject: [PATCH] Update packages/bridge-ui/src/components/form/BridgeForm.svelte Co-authored-by: David <104078303+davidtaikocha@users.noreply.github.com> --- packages/bridge-ui/src/components/form/BridgeForm.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bridge-ui/src/components/form/BridgeForm.svelte b/packages/bridge-ui/src/components/form/BridgeForm.svelte index 754da7847cf..942c3eafcef 100644 --- a/packages/bridge-ui/src/components/form/BridgeForm.svelte +++ b/packages/bridge-ui/src/components/form/BridgeForm.svelte @@ -68,7 +68,7 @@ spenderAddress: $chainIdToBridgeAddress.get($fromChain.id), }); console.log("approved, waiting for confirmations ", tx); - $signer.provider.waitForTransaction(tx.hash, 3); + await $signer.provider.waitForTransaction(tx.hash, 3); requiresAllowance = false;