79256881

Date: 2024-12-06 05:04:19
Score: 2.5
Natty:
Report link

this seemed to fix it for me: wrap params in Promise as shown in the code below.

context: { params: { month: string } }

to

{ params } : { params: Promise<{ month: string }> }

https://nextjs.org/docs/app/api-reference/file-conventions/route#context-optional

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: lckmbr