AdmiralGeneralAladeen
AdmiralGeneralAladeen
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 10/11/2023 in #questions
How do I use trpc api imporpt in a client component?
No description
6 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
thank you, I didn't even think to check their eslint file haha. this is the project I loosely based mien off
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
but all of this wouldn't matter if the eslint rule would just turn off, idk why it isn't going off
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
No problem. I tried to remove the async, but then I get the error that server components need to be async 😂
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
i still want it to be a server component, I just don't need to asyncronously fetch any data inside of it
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
there are no promises that need to be awaited within the server component though
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
but im not using await within the function anywhere because the fetch helper from the ContentLayer library is synchronous
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
the function is async
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
it is async
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/19/2023 in #questions
Why am I still getting an es-lint error on nextjs build despite turning the rule off?
this is inside a server component
15 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/10/2023 in #questions
DrizzleORM drops tables already in database when trying to add new tables?
ah makes sense thank you
4 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/7/2023 in #questions
Anyone know why ShadCN navbar is positioned in corner?
already many open issues
9 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/7/2023 in #questions
Anyone know why ShadCN navbar is positioned in corner?
nvm it was a problem in the library, as I thought 😭
9 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/7/2023 in #questions
Anyone know why ShadCN navbar is positioned in corner?
9 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/7/2023 in #questions
Anyone know why ShadCN navbar is positioned in corner?
lmao not much info to give, its a fresh project with shadcn ui, directly copy pasted from their setup 😭
9 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 6/7/2023 in #questions
Anyone know why ShadCN navbar is positioned in corner?
the code is exactly copy pasted from the shadcn website
9 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 2/17/2023 in #questions
Cannot use `useState` inside of callback?
I guess if I break them out into components it should work
6 replies
TTCTheo's Typesafe Cult
Created by AdmiralGeneralAladeen on 2/17/2023 in #questions
Cannot use `useState` inside of callback?
ah yep must be because of the conditionals
6 replies