import { getUserFromPage } from "@/auth";

export default async function Page() {
  const user = await getUserFromPage();

  if (!user) {
    return <p>Not logged in</p>;
  }

  return <p>{user.username}</p>;
}
