Skip to content

Commit

Permalink
fix: update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiorigam committed Dec 17, 2024
1 parent 6f63c15 commit f02e51f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dapp-kit-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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
Expand Down

0 comments on commit f02e51f

Please sign in to comment.