Added prisma import to admin page
continuous-integration/drone/push Build is passing Details

main
Guus van Meerveld 2 years ago
parent 106f0ee03c
commit 350b0b5f36
Signed by: Guusvanmeerveld
GPG Key ID: 2BA7D7912771966E

@ -4,7 +4,9 @@ import { NextSeo } from "next-seo";
import { Post, User } from "@prisma/client"; import { Post, User } from "@prisma/client";
import Layout from "@components/Layout"; import Layout from "@components/Layout";
import { withSessionSsr } from "@utils/session"; import { withSessionSsr } from "@utils/session";
import prisma from "@utils/prisma";
const AdminPage: NextPage<{ user: User; posts: Post & { author: User } }> = ({ const AdminPage: NextPage<{ user: User; posts: Post & { author: User } }> = ({
user, user,

Loading…
Cancel
Save