mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
fix: typecheck for next-auth
This commit is contained in:
parent
0ebfcb561f
commit
22381e5d5f
2 changed files with 4 additions and 3 deletions
|
|
@ -6,8 +6,6 @@ const nextConfig = {
|
|||
},
|
||||
experimental: {
|
||||
appDir: true,
|
||||
newNextLinkBehavior: true,
|
||||
serverComponentsExternalPackages: ["prisma"],
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ const POSTMARK_ACTIVATION_TEMPLATE = 29559329
|
|||
const prisma = new PrismaClient()
|
||||
|
||||
export const authOptions: NextAuthOptions = {
|
||||
adapter: PrismaAdapter(prisma),
|
||||
// huh any! I know.
|
||||
// This is a temporary fix for prisma client.
|
||||
// @see https://github.com/prisma/prisma/issues/16117
|
||||
adapter: PrismaAdapter(prisma as any),
|
||||
pages: {
|
||||
signIn: "/login",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue