export default async function StudyPage({ params }: { params: { id: string } }) { const study = await db.query.studies.findFirst({ where: (studies, { eq }) => eq(studies.id, params.id), with: { experiments: true } }) return (