TTC
Theo's Typesafe Cult
questions
Redirect next-auth signIn to history page
Looking for more? Join the community!
TTC
Theo's Typesafe Cult
questions
TTC
Theo's Typesafe Cult
questions
Want results from more Discord servers?
Recommended PostsTrying to start dev of julius acme-corp repoI added env vars, ran pnpm install, ran npm i in every package and I still get this error:
How do I Does anyone know of a performant slider/carousel library for react?We are currently using Keen Slider but it does not perform well. I'm hoping to find a performant sliHow to implement redirect based on user roleHi, I would love to implement redirections based on the user role.
I want to implement it so that oRegex cutting off anything after space in the urlHeres the current regex :
const regex = /(https?:\/\/\S+)\s*\n*\s*(Canonical|\d*)/g;
it gives backdynamic routes in middleware with next-authso i want to do dynamic routes using next-auth with the config varibe that middleware offers
This Do we need a fetcher like SWR with the t3 stackIt isn't mention in the documentation so I was wondering, do we need a fetcher with tRPC ?
It's my UploadThing with PythonI am using UploadThing on my main app where a user uploads a word document. I save it's UT URL in myDeployment error with working environment variableI'm trying to deploy on vercel and i got this error below. I can call the OpenAI API (via server siBoth my dev environment and my deployed code are the exact same, but my text is aligned differentlyAnyone know why this is the case?Prisma not connecting to DB in amplifyHey guys so i got the following schema
```ts
model Images {
id Int @id @default(autoincrExplicitly specifying an object in Prisma with its foreign relationshipsI've set up my schema as an approximation of a directory structure: directories (`ADir`s) and documeError when running `drizzle-kit push:mysql` to a Planetscale databaseso after reading through the Doc's it looks like i need an SSL cert to run the push however i'm not Headless UI TransitionsHeya, I'm trying to create a simple little animation where a dropdown menu slides down when revealedhow can I invoke a trpc call inside a nested function?I know it isn't directly possible. But is there a workaround?Counting rows in Drizzle ORMHi,
I was wondering what the best way to count rows in drizzle is. Thanks for the help!Does App Router have getStaticPaths? Does it even need that?Hello everybody! 👋 I hope you are well!
So I'm looking into App Router. I just recently followed Pull template repositoryI would like to know if it is possible to use a template repository and after the template repo receTypeError: client[procedureType] is not a function weirdnessI'm trying to make an adapter for auth.js and want to call my backend via the adapter with tRPC proxInvalid env variables NextjsHi guys !
It's certainly very dumb but I don't figure it out.
I have set everything correctly from wWeird type errors with next.js and drizzle```ts
//when I use
export const dynamicParams = false;
//or
export const dynamicParams = true;
```
N