79681352

Date: 2025-06-27 02:48:42
Score: 0.5
Natty:
Report link

Try

const { slug } = await params; // Direct access, no double nesting

Or maybe inline types:

export default async function ArticlePage({ 
    params 
}: { 
    params: Promise<{ slug: string }> 
}) {
    const { slug } = await params;
    // ... rest of your code
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: darkknight