Files
gitlab-instance-0a899031_salon/app/page.tsx
2026-03-16 09:32:35 -05:00

11 lines
371 B
TypeScript

import { getVolunteer } from "@/app/lib/volunteers";
import HomeContent from "./components/HomeContent";
export const dynamic = "force-dynamic";
/** 首页:服务端先查询第一个志愿者,替换发起人志愿者卡片 */
export default async function Home() {
const volunteer = await getVolunteer();
return <HomeContent initialVolunteer={volunteer} />;
}