revert some changes

This commit is contained in:
Isaac Wise 2024-02-10 19:54:38 -06:00
parent 059fcecc5f
commit ccd3fcb8c1
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ export default function NewLinkModal({ onClose }: Props) {
const { data } = useSession();
const initial = {
id: 0,
name: "",
url: "",
description: "",

View File

@ -5,7 +5,7 @@ const globalForPrisma = global as unknown as { prisma: PrismaClient };
export const prisma =
globalForPrisma.prisma ||
new PrismaClient({
log: ["warn"],
log: ["query"],
});
if (process.env.NODE_ENV !== "production") globalForPrisma.prisma = prisma;