Skip to content

Commit

Permalink
fix(bridge-ui-v2): validate amount only if component is mounted (#14757)
Browse files Browse the repository at this point in the history
  • Loading branch information
KorbinianK authored Sep 20, 2023
1 parent 3bb4fd2 commit c506409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bridge-ui-v2/src/components/Bridge/Bridge.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
}
}
}
$: if ($selectedToken) {
$: if ($selectedToken && amountComponent) {
amountComponent.validateAmount();
}
</script>
Expand Down

1 comment on commit c506409

@vercel
Copy link

@vercel vercel bot commented on c506409 Sep 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bridge-ui-v2-internal – ./packages/bridge-ui-v2

bridge-ui-v2-internal.vercel.app
bridge-ui-v2-internal-taikoxyz.vercel.app
bridge-ui-v2-internal-git-main-taikoxyz.vercel.app

Please sign in to comment.