import { AccountsListView } from "@/components/accounts-list-view";
import { getSeededOperator } from "@/lib/operator";
import { listAccounts } from "@/lib/queries";

export default async function AccountsPage() {
  const op = await getSeededOperator();
  const accounts = await listAccounts(op.id);

  return <AccountsListView accounts={accounts} />;
}
