Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
search
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges committed Jul 30, 2024
1 parent 693bfb4 commit 31651af
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/connect/account-abstraction/get-started/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion src/app/react-native/v5/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const sidebar: SideBar = {
name: "Themes",
links: [
{
name: "Theme Values",
name: "Theme Props",
href: `${slug}/Theme`,
icon: <CodeIcon />,
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/react/v5/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const sidebar: SideBar = {
name: "Themes",
links: [
{
name: "Theme Values",
name: "Theme Props",
href: `${slug}/Theme`,
icon: <CodeIcon />,
},
Expand Down
4 changes: 3 additions & 1 deletion src/components/others/DocSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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")) {
Expand Down

0 comments on commit 31651af

Please sign in to comment.