From f02e51ff8966e6aa5463b899d1412ec932a98421 Mon Sep 17 00:00:00 2001 From: Fabio Rigamonti <73019897+fabiorigam@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:47:42 +0100 Subject: [PATCH] fix: update readme.md --- packages/dapp-kit-react/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dapp-kit-react/README.md b/packages/dapp-kit-react/README.md index dad6b829..dd706856 100644 --- a/packages/dapp-kit-react/README.md +++ b/packages/dapp-kit-react/README.md @@ -56,7 +56,7 @@ ReactDOM.createRoot(document.getElementById('root')!).render( - Use the hooks provided by the `DAppKitProvider` ```typescript jsx -import { useWallet, useConnex } from '@vechain/dapp-kit-react'; +import { useWallet, useThor } from '@vechain/dapp-kit-react'; import type { WalletSource } from '@vechain/dapp-kit'; // type WalletSource = 'wallet-connect' | 'veworld' | 'sync2' | 'sync'; @@ -68,8 +68,8 @@ setSource(mySource); const { account } = await connect(); -//Start using Connex thor/ vendor -const { vendor, thor } = useConnex(); +//Start using Thor vendor +const thor = useThor(); ``` ### UI Option 1: Modal + Button