import { Suspense } from "react"; import { getCurrentUser } from "@/data/auth"; import { logout } from "./actions"; import { Button } from "@/components/ui/button"; export default function DashboardPage() { return (
Loading...

}>
); } async function Greeting() { const user = await getCurrentUser(); return
Halo, {user.name}!
; }