From bf47b4673034a8a710faf23f940122a479a65e6c Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Fri, 25 Aug 2023 15:38:18 -0300 Subject: [PATCH] fix merge issue --- package.json | 2 +- src/hooks/useHandleTransfer.tsx | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/package.json b/package.json index f70443f51..cc1740ba2 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ }, "scripts": { "start": "react-app-rewired start", - "build": "sed -i '/enableWorkerThreads/d' node_modules/terser-webpack-plugin/dist/index.js && react-app-rewired --max_old_space_size=6144 build", + "build": "sed -i '/enableWorkerThreads/d' node_modules/terser-webpack-plugin/dist/index.js && react-app-rewired build", "test": "react-app-rewired test", "eject": "react-scripts eject", "format": "npx prettier --write ./src" diff --git a/src/hooks/useHandleTransfer.tsx b/src/hooks/useHandleTransfer.tsx index 775155654..06caa1a59 100644 --- a/src/hooks/useHandleTransfer.tsx +++ b/src/hooks/useHandleTransfer.tsx @@ -1237,25 +1237,6 @@ export function useHandleTransfer() { maybeAdditionalPayload, relayerFee ); - } else if ( - sourceChain === CHAIN_ID_SEI && - seiWallet && - seiAddress && - !!sourceAsset && - decimals !== undefined && - !!targetAddress - ) { - sei( - dispatch, - enqueueSnackbar, - seiWallet, - sourceAsset, - amount, - decimals, - targetChain, - targetAddress, - relayerFee - ); } else if ( sourceChain === CHAIN_ID_XPLA && !!xplaWallet &&