Attempting to create a build
Unanswered
Cicada killer posted this in #help-forum
Cicada killerOP
I am quite new to next.js and website development as a whole (letalone backend) so I am struggling to figure out the issue here. I have resorted to attempting to chatgpt a solution, but that doesn't seem to be working either.
4 Replies
Asian black bear
Params in Next 15 are a promise.
You need
Promise<{ challengeOptionsId: string }>
.Cicada killerOP
got it, ty - it worked with the 2 other files so now i'm working with [courseId] but i'm lost here as well
Asian black bear
It's not
Promise<{ params }>
but { params: Promise<{ ...}> }
.