From 9d5fc4e6cf39d970750f686042c972a02336840f Mon Sep 17 00:00:00 2001 From: Gianfranco Date: Tue, 3 Sep 2024 04:44:05 -0300 Subject: [PATCH] remove second confirmation button --- src/pages/swap/index.tsx | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/pages/swap/index.tsx b/src/pages/swap/index.tsx index a1b3a58c..9ed4597b 100644 --- a/src/pages/swap/index.tsx +++ b/src/pages/swap/index.tsx @@ -63,10 +63,6 @@ export const SwapPage = () => { signingPhase, } = useMainProcess(); - const handleSubmitButtonClick = () => { - setIframVisible(true); - } - const { tokensModal: [modalType, setModalType], onFromChange, @@ -232,7 +228,7 @@ export const SwapPage = () => { const showMainScreenAnyway = offrampingPhase === undefined; - if (sep24Url && isIframVisible && showMainScreenAnyway ){ + if (sep24Url && showMainScreenAnyway ){ return ( {
- {sep24Url !== undefined ? ( - - ) : ( - )} );