diff --git a/_official-jokes/app/utils/db.server.ts b/_official-jokes/app/utils/db.server.ts index baaa56e7..149b596f 100644 --- a/_official-jokes/app/utils/db.server.ts +++ b/_official-jokes/app/utils/db.server.ts @@ -3,6 +3,4 @@ import { PrismaClient } from "@prisma/client"; import { singleton } from "./singleton.server"; // Hard-code a unique key, so we can look up the client when this module gets re-imported -const db = singleton("prisma", () => new PrismaClient()); - -export { db }; +export const db = singleton("prisma", () => new PrismaClient());