79234305

Date: 2024-11-28 14:43:04
Score: 1.5
Natty:
Report link

Replace context: Context with { params }: { params: Promise<{ id: string }> }

Then, retrieve the value using: const id = (await params).id

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jay Lord Pagal