move table to resources page
This commit is contained in:
@ -1,12 +1,8 @@
|
||||
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();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
@ -16,7 +12,7 @@ const Home: NextPage = () => {
|
||||
</Head>
|
||||
<main>
|
||||
<div className="my-6">
|
||||
<ResourceTable resources={query.data} />
|
||||
<p>Nothing yet</p>
|
||||
</div>
|
||||
</main>
|
||||
</>
|
||||
|
Reference in New Issue
Block a user