why do i keep seeing this error and how do i fix it ?
Unanswered
Citrine Wagtail posted this in #help-forum
Citrine WagtailOP
i am just making a simple app just to check and in my other apps where i have updated then to next js 15 i always get this error
this is the
this is the
/[id]/page.tsx route for the slug and the code as well11 Replies
Citrine WagtailOP
please help me
params are async on next 15 and must be awaited
const ProductDetail = ({
params,
}: {
params: Promise<{ id: string }>
}) => {
const slug = (await params).id
const ProductDetail = ({
params,
}: {
params: Promise<{ id: string }>
}) => {
const slug = (await params).id
hello
Northeast Congo Lion
Hi Nice to meet you
@chisto hello
Northeast Congo Lion
Are you web developer?
yes
I think that's against server rules, but if you have a problem or error, you can open a post and ppl will help you
@chisto yes
Northeast Congo Lion
Do you have any task?
I am also web developer.
I am also web developer.
Southern rough shrimp
lol
@Southern rough shrimp lol
Northeast Congo Lion