diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ad9160..9f11ee4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # vision-pro-ui +## 0.1.7 + +### Patch Changes + +- fixed build errors + ## 0.1.6 ### Patch Changes diff --git a/app/api/search/route.ts b/app/api/search/route.ts index 0509668..b823959 100644 --- a/app/api/search/route.ts +++ b/app/api/search/route.ts @@ -1,8 +1,8 @@ -import { getPages } from "@/app/source"; +import { source } from "@/app/source"; import { createSearchAPI } from "fumadocs-core/search/server"; export const { GET } = createSearchAPI("advanced", { - indexes: getPages().map((page) => ({ + indexes: source.getPages().map((page) => ({ title: page.data.title, structuredData: page.data.structuredData, id: page.url, diff --git a/components/core/text-effects.tsx b/components/core/text-effects.tsx index 29fc88f..c3afa7b 100644 --- a/components/core/text-effects.tsx +++ b/components/core/text-effects.tsx @@ -7,7 +7,7 @@ type PresetType = "blur" | "shake" | "scale" | "fade" | "slide"; type TextEffectProps = { children: string; per?: "word" | "char"; - as?: keyof JSX.IntrinsicElements; + as?: "p" | "span" | "div"; variants?: { container?: Variants; item?: Variants; diff --git a/package.json b/package.json index aea0fcd..f83887e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vision-pro-ui", - "version": "0.1.6", + "version": "0.1.7", "scripts": { "build": "next build", "dev": "next dev -p 3080",