import { getLinkList, getLinkListAll } from "@/app/_lib/data/link"; import { LinkBlock } from "@/app/_ui/LinkListBox"; import Search from "@/app/_ui/Search"; import { use } from "react"; export default async function Page({ params }: { params: Promise<{ id: string }> }) { const id = (await params).id const { list: linkList } = await getLinkList({ typeId: id }) return ( <> {/* */}
{ linkList.map(val => ( )) }
{/* */} ); }