import { getUsers } from "@/lib/api";
import UsersTable from "@/components/users-table";

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

export default async function UsersPage() {
  const users = await getUsers();
  return <UsersTable initial={users} prefixPattern={PREFIX_PATTERN} />;
}
