oAuth
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
import Link from 'next/link';
|
||||
import { PrismaClient } from '@repo/db';
|
||||
import { PaginatedTable } from './_components/PaginatedTable';
|
||||
import { Header } from './_components/ui/Header';
|
||||
|
||||
export default async function Home() {
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-5xl">Hub</h1>
|
||||
<Link href="/logout">
|
||||
<button className="btn">Logout</button>
|
||||
</Link>
|
||||
<Header />
|
||||
<PaginatedTable
|
||||
rowsPerPage={10}
|
||||
prismaModel={'user'}
|
||||
|
||||
Reference in New Issue
Block a user