Skip to content

Commit

Permalink
fix knip and linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sviderock committed Dec 19, 2024
1 parent 1fa2209 commit 52a37a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/swap/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export enum Field {
TO = 'TO',
}

export interface SwapAmount {
interface SwapAmount {
[Field.FROM]: string
[Field.TO]: string
}
Expand Down
2 changes: 0 additions & 2 deletions src/swap/useSwapQuote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ function useSwapQuote({
return null
}

console.log(swapAmount[updatedField])

if (!swapAmount[updatedField] || !swapAmount[updatedField].gt(0)) {
return null
}
Expand Down

0 comments on commit 52a37a0

Please sign in to comment.