import { prisma } from '@/lib/prisma'; import ReactMarkdown from 'react-markdown'; export default async function TosPage() { const tos = await prisma.termsOfService.findFirst({ orderBy: [{ version: "desc" }], }) // console.log(tos?.markdown) return (
{tos?.markdown}
); }