import { requireAuth } from '@/lib/auth/utils'; import { logout } from '@/app/actions/auth'; export default async function DashboardPage() { const user = await requireAuth(); return (
This is a protected page. You can only access it when authenticated.