diff --git a/postcss.config.mjs b/postcss.config.mjs index f734f43..ad4dadc 100644 --- a/postcss.config.mjs +++ b/postcss.config.mjs @@ -1,4 +1,3 @@ - /** @type {import('postcss-load-config').Config} */ const config = { plugins: { diff --git a/src/app/[[...lang]]/page.tsx b/src/app/[[...lang]]/page.tsx index 59aabbd..3eb7e5a 100644 --- a/src/app/[[...lang]]/page.tsx +++ b/src/app/[[...lang]]/page.tsx @@ -5,17 +5,7 @@ import Footer from "@/app/components/footer"; import Examples from "../components/Examples"; -type CaseType = { - img: string; -}; -export type PropsType = { - params: { - lang: string[]; - caseList: CaseType[]; - }; -}; - -export default async function Home(props: { params: { lang: string[] }; caseList: CaseType[] }) { +export default async function Home(props: { params: { lang: string[] } }) { const lang = props.params.lang || ["zh"]; const dict = await getDictionary(lang[0]);