Files
service-aware-frontend/pkgs/ui/src/app/machines/page.tsx
2023-08-26 15:46:10 +02:00

17 lines
422 B
TypeScript

"use client";
import { tableData } from "@/data/nodeDataStatic";
import { StrictMode } from "react";
import { NodeTable } from "@/components/table";
import { useMachines } from "@/components/hooks/useMachines";
export default function Page() {
const { data, isLoading } = useMachines();
console.log({ data, isLoading });
return (
<StrictMode>
<NodeTable tableData={tableData} />
</StrictMode>
);
}