import NavigationShell from "@/components/navigation-shell"; import StudioClient from "@/components/studio-client"; import { requireCurrentUser, toPublicUser } from "@/lib/auth"; import { getQuotaSnapshotForUser } from "@/lib/quota"; export default async function StudioPage() { const user = await requireCurrentUser(); const publicUser = toPublicUser(user); const quota = getQuotaSnapshotForUser(user); if (!publicUser) { throw new Error("Unable to resolve current user."); } return ( ); }