Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/portal/src/app/react/v5/migrate/cheatsheet/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
| Connect | `ConnectWallet` | [`ConnectButton`](/react/v5/ConnectButton) |
| Connection Status | `useConnectionStatus()` | [`useActiveWalletConnectionStatus()`](/references/typescript/v5/useActiveWalletConnectionStatus) |
| Switch Chain | `useSwitchChain()` | [`useSwitchActiveWalletChain()`](/references/typescript/v5/useSwitchActiveWalletChain) |
| Get Connected Chain | `useChain()` | [`useSwitchActiveWalletChain()`](/references/typescript/v5/useSwitchActiveWalletChain) |
| Get Connected Chain | `useChain()` | [`useActiveWalletChain()`](/references/typescript/v5/useActiveWalletChain) |


### TypeScript Cheatsheet
Expand Down
4 changes: 2 additions & 2 deletions apps/portal/src/app/typescript/v5/migrate/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
ArticleIconCard,
} from "@doc";
import {
ReactIcon,
ReactIcon,
} from "@/icons";

# Migration from TypeScript SDK v4
Expand Down Expand Up @@ -178,4 +178,4 @@ const onClick = async () => {
| Connect | `ConnectWallet` | [`ConnectButton`](/react/v5/ConnectButton) |
| Connection Status | `useConnectionStatus()` | [`useActiveWalletConnectionStatus()`](/references/typescript/v5/useActiveWalletConnectionStatus) |
| Switch Chain | `useSwitchChain()` | [`useSwitchActiveWalletChain()`](/references/typescript/v5/useSwitchActiveWalletChain) |
| Get Connected Chain | `useChain()` | [`useSwitchActiveWalletChain()`](/references/typescript/v5/useSwitchActiveWalletChain) |
| Get Connected Chain | `useChain()` | [`useActiveWalletChain()`](/references/typescript/v5/useActiveWalletChain) |
Loading