webdevkaleem
webdevkaleem
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
you can mark this question as solved by right clicking on the solution > apps > mark solution
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
gl on your project
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
in this case you're navigating to this exact url, inside the quotes. It then tries to convert the ${id} into a url friendly form by conversion which results in the weird url
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
replace the " with backticks
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
use a template literal
`/product/${id}`
`/product/${id}`
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
brother
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
this is what is causing the error atleast according to the message
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
in nextjs v15+ you have to await params and searchParams before you can access their values
28 replies
TTCTheo's Typesafe Cult
Created by Dante Afton on 1/11/2025 in #questions
Next.js dynamic routing link component not working
can you specify your nextjs version
28 replies
TTCTheo's Typesafe Cult
Created by Durmoth on 1/10/2025 in #questions
t3chat development
:theowat:
7 replies
TTCTheo's Typesafe Cult
Created by webdevkaleem on 1/10/2025 in #questions
Uploadthing: Type-error when sending custom field data to the client
i just got out of tutorial hell (or atleast trying to) so everything is new to me
12 replies
TTCTheo's Typesafe Cult
Created by webdevkaleem on 1/10/2025 in #questions
Uploadthing: Type-error when sending custom field data to the client
thank you
12 replies
TTCTheo's Typesafe Cult
Created by webdevkaleem on 1/10/2025 in #questions
Uploadthing: Type-error when sending custom field data to the client
thanks for the solution but i guess i have to wait until these changes are reviewed and merged https://github.com/pingdotgg/uploadthing/pull/1115
12 replies
TTCTheo's Typesafe Cult
Created by webdevkaleem on 1/10/2025 in #questions
Uploadthing: Type-error when sending custom field data to the client
"uploadthing": "^7.4.4", "@uploadthing/react": "^7.1.5",
12 replies
TTCTheo's Typesafe Cult
Created by webdevkaleem on 1/10/2025 in #questions
Uploadthing: Type-error when sending custom field data to the client
In simple terms i want to send additional content in onUploadComplete and use it onClientUploadComplete but it gives me a type-error when i do so. It only allows this to be returned without any errors
return {
uploadedBy: metadata.userId
}
return {
uploadedBy: metadata.userId
}
12 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 1/6/2025 in #questions
avoid auto scrolling when intercepting routes
I don't see what else can be done
6 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 1/6/2025 in #questions
avoid auto scrolling when intercepting routes
Someone made a custom solution for this problem
6 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 1/6/2025 in #questions
avoid auto scrolling when intercepting routes
6 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 1/6/2025 in #questions
avoid auto scrolling when intercepting routes
Try placing the
{children}
{children}
After the
{modal}
{modal}
Inside your page's layout
6 replies