Skip to content

Commit

Permalink
Fix wallet-list-2.json redirect (#843)
Browse files Browse the repository at this point in the history
  • Loading branch information
SherbekMavlonov authored Nov 11, 2024
1 parent b644495 commit 30e50a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/v3/guidelines/ton-connect/frameworks/react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const Header = () => {
```

#### Connect with a specific wallet
To open a modal window for a specific wallet, use the `openSingleWalletModal()` method. This method takes the wallet's `app_name` as a parameter (refer to the [wallets-list.json]('https://github.com/ton-blockchain/wallets-list/blob/main/wallets-v2.json') file) and opens the corresponding wallet modal. It returns a promise that resolves once the modal window has successfully opened.
To open a modal window for a specific wallet, use the `openSingleWalletModal()` method. This method takes the wallet's `app_name` as a parameter (refer to the [wallets-list.json](https://github.com/ton-blockchain/wallets-list/blob/main/wallets-v2.json) file) and opens the corresponding wallet modal. It returns a promise that resolves once the modal window has successfully opened.

```tsx
<button onClick={() => tonConnectUI.openSingleWalletModal('tonwallet')}>
Expand Down

0 comments on commit 30e50a9

Please sign in to comment.