@aurorascharff You’re absolutely right, I did read that in your post, but didn’t realize I had a `layout.tsx` above `[locale]` in my own code. Removing it and making `[locale]/layout.tsx` the root fixed it. Thanks for pointing it out. I’ll keep testing root params.
@marxincel@gasparbrazilian De maneira alguma disse isso. Só mostrei que na região há, de fato, túneis antigos bem conhecidos na região. No caso dos caras ali, meu veredito é que estavam zoando.
@manoj_ahi It's likely not a Prisma issue, but Hot Reload is exhausting your connection pool. The solution is to use the Singleton Pattern for the Prisma instance.
@manoj_ahi Something like that:
if (process.env.NODE_ENV === 'development') {
if (!globalThis.prisma) {
globalThis.prisma = new PrismaClient()
}
db = globalThis.prisma
}
@manoj_ahi It's likely not a Prisma issue, but Hot Reload is exhausting your connection pool. The solution is to use the Singleton Pattern for the Prisma instance.
@aloneinthesukya@lorenzolfm No meu caso, resolvi com um OTP (válido por 5 min) por email (se não existir na base). No signup, se o email já existir, mando o usuário para a tela de validação normalmente. Os erros que podem aparecer são de código inválido ou expirado.