import { getConsoleContext } from "@/lib/console";
import { roleAtLeast } from "@/lib/auth/roles";
import { EmptyState, PageTitle } from "@/components/ui";
import { InboxView } from "@/components/InboxView";
import { PagePicker } from "@/components/PagePicker";
import { InboxAiSettings } from "@/components/InboxAiSettings";
export default async function InboxPage() {
const ctx = await getConsoleContext();
const page = ctx.selected;
return (
<>
{page ? (
<>
>
) : (
({ id, name, pictureUrl }))} />
)}
>
);
}