File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
react/v5/migrate/cheatsheet Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414| Connect | ` ConnectWallet ` | [ ` ConnectButton ` ] ( /react/v5/ConnectButton ) |
1515| Connection Status | ` useConnectionStatus() ` | [ ` useActiveWalletConnectionStatus() ` ] ( /references/typescript/v5/useActiveWalletConnectionStatus ) |
1616| Switch Chain | ` useSwitchChain() ` | [ ` useSwitchActiveWalletChain() ` ] ( /references/typescript/v5/useSwitchActiveWalletChain ) |
17- | Get Connected Chain | ` useChain() ` | [ ` useSwitchActiveWalletChain ()` ] ( /references/typescript/v5/useSwitchActiveWalletChain ) |
17+ | Get Connected Chain | ` useChain() ` | [ ` useActiveWalletChain ()` ] ( /references/typescript/v5/useActiveWalletChain ) |
1818
1919
2020### TypeScript Cheatsheet
Original file line number Diff line number Diff line change 22 ArticleIconCard ,
33} from " @doc" ;
44import {
5- ReactIcon ,
5+ ReactIcon ,
66} from " @/icons" ;
77
88# Migration from TypeScript SDK v4
@@ -178,4 +178,4 @@ const onClick = async () => {
178178| Connect | ` ConnectWallet ` | [ ` ConnectButton ` ] ( /react/v5/ConnectButton ) |
179179| Connection Status | ` useConnectionStatus() ` | [ ` useActiveWalletConnectionStatus() ` ] ( /references/typescript/v5/useActiveWalletConnectionStatus ) |
180180| Switch Chain | ` useSwitchChain() ` | [ ` useSwitchActiveWalletChain() ` ] ( /references/typescript/v5/useSwitchActiveWalletChain ) |
181- | Get Connected Chain | ` useChain() ` | [ ` useSwitchActiveWalletChain ()` ] ( /references/typescript/v5/useSwitchActiveWalletChain ) |
181+ | Get Connected Chain | ` useChain() ` | [ ` useActiveWalletChain ()` ] ( /references/typescript/v5/useActiveWalletChain ) |
You can’t perform that action at this time.
0 commit comments