diff --git a/apps/portal/src/app/react/v5/migrate/cheatsheet/page.mdx b/apps/portal/src/app/react/v5/migrate/cheatsheet/page.mdx index c2fa8b3ea92..712547fb6c0 100644 --- a/apps/portal/src/app/react/v5/migrate/cheatsheet/page.mdx +++ b/apps/portal/src/app/react/v5/migrate/cheatsheet/page.mdx @@ -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 diff --git a/apps/portal/src/app/typescript/v5/migrate/page.mdx b/apps/portal/src/app/typescript/v5/migrate/page.mdx index 24ff67d18b6..2881b36ade7 100644 --- a/apps/portal/src/app/typescript/v5/migrate/page.mdx +++ b/apps/portal/src/app/typescript/v5/migrate/page.mdx @@ -2,7 +2,7 @@ import { ArticleIconCard, } from "@doc"; import { - ReactIcon, + ReactIcon, } from "@/icons"; # Migration from TypeScript SDK v4 @@ -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) |