Skip to content

Commit

Permalink
minor TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
jscriptcoder committed Jul 19, 2023
1 parent 8d5fbec commit 5354874
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
let computingMaxAmount = false;
let errorAmount = false;
// Simple, let's get the max amount to bridge and see if it's less
// Let's get the max amount to bridge and see if it's less
// than what the user has entered. For ETH, will actually get an error
// when trying to get that max amount, if the user has entered too much ETH
async function checkEnteredAmount() {
Expand Down Expand Up @@ -116,6 +116,7 @@
// Let's also trigger the check when either the processingFee or
// the selectedToken change and debounce it, just in case
// TODO: better way? maybe store.subscribe(), or different component
$: $processingFee && $selectedToken && debouncedCheckEnteredAmount();
</script>

Expand Down

0 comments on commit 5354874

Please sign in to comment.