From 350b0b5f36b738bc8b84df88a3bf95118903c294 Mon Sep 17 00:00:00 2001 From: Guus van Meerveld Date: Wed, 15 Feb 2023 21:27:32 +0100 Subject: [PATCH] Added prisma import to admin page --- src/pages/blog/admin.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/blog/admin.tsx b/src/pages/blog/admin.tsx index 43cfa92..7bb910d 100644 --- a/src/pages/blog/admin.tsx +++ b/src/pages/blog/admin.tsx @@ -4,7 +4,9 @@ import { NextSeo } from "next-seo"; import { Post, User } from "@prisma/client"; import Layout from "@components/Layout"; + import { withSessionSsr } from "@utils/session"; +import prisma from "@utils/prisma"; const AdminPage: NextPage<{ user: User; posts: Post & { author: User } }> = ({ user,