basic table view added

This commit is contained in:
Brandon Egger
2023-03-15 19:44:12 -05:00
parent c17768e5bc
commit fb57f72d7b
2 changed files with 46 additions and 2 deletions

View File

@ -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>
</>
);