79403163

Date: 2025-01-31 15:11:16
Score: 1.5
Natty:
Report link

First, I wasn't looking at the right page

Second, The solution I found to my error:

type Params = Promise<{ id: string }>;

export default async function EditPost({ params }: { params: Params }) {    
const { id } = await params;

// rest of the code ...

}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: poletesan3