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

export const dynamic = "force-dynamic";

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

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