diff --git a/src/app/connect/account-abstraction/get-started/page.mdx b/src/app/connect/account-abstraction/get-started/page.mdx index 5e25d238..b024a089 100644 --- a/src/app/connect/account-abstraction/get-started/page.mdx +++ b/src/app/connect/account-abstraction/get-started/page.mdx @@ -142,8 +142,8 @@ const personalAccount = await personalWallet.connect({ }); // Then, create and connect the Smart wallet const wallet = smartWallet({ + client, chain: sepolia, // the chain where your smart wallet will be or is deployed - clientId: "YOUR_CLIENT_ID", // or use secretKey for backend/node scripts sponsorGas: true, // enable or disable sponsored transactions }); const smartAccount = await wallet.connect({ diff --git a/src/app/react-native/v5/sidebar.tsx b/src/app/react-native/v5/sidebar.tsx index 02634ee3..8df412a2 100644 --- a/src/app/react-native/v5/sidebar.tsx +++ b/src/app/react-native/v5/sidebar.tsx @@ -38,7 +38,7 @@ export const sidebar: SideBar = { name: "Themes", links: [ { - name: "Theme Values", + name: "Theme Props", href: `${slug}/Theme`, icon: , }, diff --git a/src/app/react/v5/sidebar.tsx b/src/app/react/v5/sidebar.tsx index 6206294a..d4df44a3 100644 --- a/src/app/react/v5/sidebar.tsx +++ b/src/app/react/v5/sidebar.tsx @@ -46,7 +46,7 @@ export const sidebar: SideBar = { name: "Themes", links: [ { - name: "Theme Values", + name: "Theme Props", href: `${slug}/Theme`, icon: , }, diff --git a/src/components/others/DocSearch.tsx b/src/components/others/DocSearch.tsx index fd84a8ee..fa6fd0bb 100644 --- a/src/components/others/DocSearch.tsx +++ b/src/components/others/DocSearch.tsx @@ -20,7 +20,7 @@ import { import { cn } from "@/lib/utils"; import Link from "next/link"; import { DynamicHeight } from "./DynamicHeight"; -import { SearchResult } from "@/app/api/search/types"; +import type { SearchResult } from "@/app/api/search/types"; import { Spinner } from "../ui/Spinner/Spinner"; import { usePathname } from "next/navigation"; @@ -463,6 +463,8 @@ function getTagsFromHref(href: string): Tag[] | undefined { return ["Reference", "TypeScript"]; } return ["TypeScript"]; + } else if (href.includes("/react/v5")) { + return ["React"]; } else if (href.includes("/connect")) { return ["Connect"]; } else if (href.includes("/engine")) {