Mr.T 🐻⛓
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Mr.T 🐻⛓ on 11/13/2023 in #questions
Internationalisation within T3 App router
I can't seem to make it work currently, I wonder if you guys have used any tutorial out there to have internationalisation along with the T3 stack yet?
2 replies
TTCTheo's Typesafe Cult
•Created by Mr.T 🐻⛓ on 10/25/2023 in #questions
Error on TRPC while fetching data inside Auth.ts
I'm using CredentialsProvider from next auth, and I need to fetch some data to check some data related to the user before I can authorize that user to log in.
I have a simple query inside the "authorize" callback, but this throws a TRPC:
Note that the query works fine when I run it in a server component, so I'm a bit unsure what could be the issue here.. Anyone has an idea?
Thanks in advance
4 replies
TTCTheo's Typesafe Cult
•Created by Mr.T 🐻⛓ on 10/10/2023 in #questions
Why do I have to check if function is null inside an if?
Hello everyone, sorry for the very generic question, but I can't seem to find an answer and I'm a bit confused, let's see with an example:
Does anyone know why this has an error
Cannot invoke an object which is possibly 'undefined'
even though I've made the check inside the if?
Thanks in advance!6 replies