import { WhatsappList } from "./_components/WhatsappList";
import { db } from "@/app/_lib/database";

export const dynamic = "force-dynamic";

export default async function Page() {
  const rows = await db.selectFrom("WhatsappBot").selectAll().execute();
  console.log(rows);

  return <WhatsappList rows={rows} />;
}
