basic table view added
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
import { type NextPage } from "next";
|
||||
import Head from "next/head";
|
||||
import ResourceTable from "~/components/ResourceTable";
|
||||
import { api } from "~/utils/api";
|
||||
|
||||
const Home: NextPage = () => {
|
||||
|
||||
const query = api.auditoryResource.getAll.useQuery();
|
||||
console.log(query.data);
|
||||
//const query = api.auditoryResource.getAll.useQuery();
|
||||
//console.log(query.data);
|
||||
|
||||
return (
|
||||
<>
|
||||
@ -16,6 +17,7 @@ const Home: NextPage = () => {
|
||||
</Head>
|
||||
<main>
|
||||
<h1>under construction</h1>
|
||||
<ResourceTable />
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
|
Reference in New Issue
Block a user