Fix build errors

This commit is contained in:
Darren Clarke 2024-04-21 20:47:55 +02:00
parent f93c4ad317
commit e720336768
22 changed files with 91 additions and 96 deletions

View file

@ -1,8 +1,8 @@
"use client";
import { GridColDef } from "@mui/x-data-grid-pro";
import { List } from "ui";
import { db } from "@/app/_lib/database";
// import { db } from "@/app/_lib/database";
export const dynamic = "force-dynamic";
export default async function Page() {
const columns: GridColDef[] = [
@ -32,7 +32,7 @@ export default async function Page() {
},
];
const rows = await db.selectFrom("WhatsAppBot").selectAll().execute();
const rows: any = []; // await db.selectFrom("WhatsAppBot").selectAll().execute();
return (
<List