diff --git a/src/swap/types.ts b/src/swap/types.ts index a7d2bc55a79..d1944b217ca 100644 --- a/src/swap/types.ts +++ b/src/swap/types.ts @@ -9,7 +9,7 @@ export enum Field { TO = 'TO', } -export interface SwapAmount { +interface SwapAmount { [Field.FROM]: string [Field.TO]: string } diff --git a/src/swap/useSwapQuote.ts b/src/swap/useSwapQuote.ts index 5b4fa0ab4d4..d35d826fae4 100644 --- a/src/swap/useSwapQuote.ts +++ b/src/swap/useSwapQuote.ts @@ -187,8 +187,6 @@ function useSwapQuote({ return null } - console.log(swapAmount[updatedField]) - if (!swapAmount[updatedField] || !swapAmount[updatedField].gt(0)) { return null }