From 9f13bfb96779869937c4087e2d752260f0bddc78 Mon Sep 17 00:00:00 2001 From: yjin Date: Mon, 23 Dec 2024 18:59:46 +0900 Subject: [PATCH] refactor: [SonarQube] Remove redundant return statement in swap state handling Remove this redundant jump. Jump statements should not be redundant typescript:S3626 Software qualities impacted: Maintainability --- packages/web/src/hooks/swap/data/use-swap-handler.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/web/src/hooks/swap/data/use-swap-handler.tsx b/packages/web/src/hooks/swap/data/use-swap-handler.tsx index bbb4a6bd9..0f784e9a6 100644 --- a/packages/web/src/hooks/swap/data/use-swap-handler.tsx +++ b/packages/web/src/hooks/swap/data/use-swap-handler.tsx @@ -1040,8 +1040,6 @@ export const useSwapHandler = () => { } return; } - - return; } }, [swapState, estimatedAmount, type, tokenA, tokenB]);