This commit is contained in:
@@ -4,7 +4,7 @@ import { Check, MessageSquareWarning, Settings } from "lucide-react";
|
||||
import { MessageForm } from "./_components/MessageForm";
|
||||
import { PaginatedTable, PaginatedTableRef } from "_components/PaginatedTable";
|
||||
import { ColumnDef } from "@tanstack/react-table";
|
||||
import { Notam } from "@repo/db";
|
||||
import { Config } from "@repo/db";
|
||||
import { useRef } from "react";
|
||||
|
||||
export default function MessagePage() {
|
||||
@@ -25,7 +25,7 @@ export default function MessagePage() {
|
||||
</div>
|
||||
<PaginatedTable
|
||||
ref={tableRef}
|
||||
prismaModel="notam"
|
||||
prismaModel="config"
|
||||
initialOrderBy={[{ id: "createdAt", desc: true }]}
|
||||
columns={
|
||||
[
|
||||
@@ -72,7 +72,7 @@ export default function MessagePage() {
|
||||
});
|
||||
},
|
||||
},
|
||||
] as ColumnDef<Notam>[]
|
||||
] as ColumnDef<Config>[]
|
||||
}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user