Skip to content

Commit

Permalink
refactor: [SonarQube] Remove redundant return statement in swap state…
Browse files Browse the repository at this point in the history
… handling

Remove this redundant jump.
Jump statements should not be redundant typescript:S3626
Software qualities impacted:
Maintainability
  • Loading branch information
tfrg committed Dec 30, 2024
1 parent 2c2e7b7 commit 9f13bfb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/web/src/hooks/swap/data/use-swap-handler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1040,8 +1040,6 @@ export const useSwapHandler = () => {
}
return;
}

return;
}
}, [swapState, estimatedAmount, type, tokenA, tokenB]);

Expand Down

0 comments on commit 9f13bfb

Please sign in to comment.