Salam, sir using slug getting this error while deploy on vercel Failed to compile. src/app/blog/[slug]/page.tsx Type error: Type '{ params: { slug: string; }; }' does not satisfy the constraint 'PageProps'. Types of property 'params' are incompatible. Type '{ slug: string; }' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag] Error: Command "npm run build" exited with 1
Great sir thanks ❤
Nice way of teaching!
Thank you!
Want to connect with me on WhatsApp? Click here: www.techloset.com/naveed-whatsapp
Keep learning and exploring!
Your explanation style is excellent sir Ma Sha Allah ❤
jazakallah sir, waiting for lecture 6 ♥
Nothing is better than sir "Naveed Sarwar" to learn programming♥🫀
TimeStamp
Dynamic routing 1:15:00
Salam, sir using slug getting this error while deploy on vercel
Failed to compile.
src/app/blog/[slug]/page.tsx
Type error: Type '{ params: { slug: string; }; }' does not satisfy the constraint 'PageProps'.
Types of property 'params' are incompatible.
Type '{ slug: string; }' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag]
Error: Command "npm run build" exited with 1