import { getAccounts } from "@/lib/api";
import AccountsTable from "@/components/accounts-table";

const PREFIX_PATTERN = process.env.NEXT_PUBLIC_CM_PREFIX_PATTERN ?? "13c";

export default async function AccountsPage() {
  const accounts = await getAccounts();
  return <AccountsTable initial={accounts} prefixPattern={PREFIX_PATTERN} />;
}
