mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-06-21 02:20:41 +00:00
init service page
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { swrFetcher } from "@/api/api"
|
||||
import { Checkbox } from "@/components/ui/checkbox"
|
||||
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
|
||||
import { Server } from "@/types"
|
||||
import { ModelServer as Server } from "@/types"
|
||||
import { ColumnDef, flexRender, getCoreRowModel, useReactTable } from "@tanstack/react-table"
|
||||
import useSWR from "swr"
|
||||
|
||||
@@ -42,7 +42,7 @@ export default function ServerPage() {
|
||||
{
|
||||
header: "Host",
|
||||
accessorKey: "host.ip",
|
||||
accessorFn: (row) => row.host.ip,
|
||||
accessorFn: (row) => row.host?.ip,
|
||||
},
|
||||
{
|
||||
id: "actions",
|
||||
|
||||
Reference in New Issue
Block a user