Skip to content

Commit

Permalink
Fix incorrect globalThis property name in 400-nextjs-prisma-client-de…
Browse files Browse the repository at this point in the history
…v-practices.mdx (#5978)
  • Loading branch information
Goodosky authored May 4, 2024
1 parent a07bdba commit 788f812
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const prismaClientSingleton = () => {
}

declare const globalThis: {
prisma: ReturnType<typeof prismaClientSingleton>;
prismaGlobal: ReturnType<typeof prismaClientSingleton>;
} & typeof global;

const prisma = globalThis.prismaGlobal ?? prismaClientSingleton()
Expand Down

0 comments on commit 788f812

Please sign in to comment.