From 104177e9b8ee311a6ebe060a9f080cef76753a4a Mon Sep 17 00:00:00 2001 From: Mohammad Shahbaz Alam Date: Tue, 29 Oct 2024 09:14:14 +0530 Subject: [PATCH] add swap --- .../evm-modal-example/src/App.tsx | 18 ++++++++++++++++-- .../src/web3AuthProviderProps.ts | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/web-modal-sdk/blockchain-connection-examples/evm-modal-example/src/App.tsx b/web-modal-sdk/blockchain-connection-examples/evm-modal-example/src/App.tsx index e1cb9b42a..1fe1a8ac0 100644 --- a/web-modal-sdk/blockchain-connection-examples/evm-modal-example/src/App.tsx +++ b/web-modal-sdk/blockchain-connection-examples/evm-modal-example/src/App.tsx @@ -38,7 +38,7 @@ function App() { addAndSwitchChain, } = useWeb3Auth(); - const { showCheckout, showWalletConnectScanner, showWalletUI, isPluginConnected } = useWalletServicesPlugin(); + const { showCheckout, showWalletConnectScanner, showWalletUI, showSwap, isPluginConnected } = useWalletServicesPlugin(); const [unloggedInView, setUnloggedInView] = useState(null); const [MFAHeader, setMFAHeader] = useState(
@@ -247,8 +247,8 @@ function App() {
+
+ +