Thoo
TTCTheo's Typesafe Cult
•Created by Thoo on 4/2/2024 in #questions
Extending next-auth user
I'm trying to extend the next-auth user but somehow It's not returning new fields, and I only have this with drizzle with prisma It's working fine.
Output:
6 replies
TTCTheo's Typesafe Cult
•Created by Thoo on 11/12/2023 in #questions
Can't use edge with create-t3-turbo
When I'm trying to use edge with create-t3-turbo I'm getting this error:
I'm not using any libraries, I removed everything It's just a blank layout and page but I'm still getting this error. (And somehow it works fine on Vercel)
2 replies
TTCTheo's Typesafe Cult
•Created by Thoo on 11/8/2023 in #questions
Next-Auth extending user
When I try to extend the user interface of next-auth I'm getting this error on the adapter in NextAuthOptions:
code:
2 replies
TTCTheo's Typesafe Cult
•Created by Thoo on 10/22/2023 in #questions
Revalidation
When I visit my pages, it fetches data and when I navigate back it doesn't fetch or rerender it. However after like 30 seconds every time I navigate to my page it rerenders, it shouldnt do that right?
Also, when using
revalidatePath
it doesn't matter what I pass with it, It just revalidates every single page.6 replies
TTCTheo's Typesafe Cult
•Created by Thoo on 8/30/2023 in #questions
trpc nextjs
anyone knows how to get nextauth session in trcp context in a caller? trying to get trpc working on server components but getting
headers() expects to have requestAsyncStorage, none available
2 replies
TTCTheo's Typesafe Cult
•Created by Thoo on 6/6/2023 in #questions
Updating data
This is my server component:
In my api route I add a new icon, how do I update it in this component?
1 replies