vercel / next-learn

Learn Next.js Starter Code
https://next-learn-dashboard.vercel.sh/
MIT License
3.56k stars 1.85k forks source link

Docs: Fix some words misspelling. #437

Closed DemaPy closed 9 months ago

DemaPy commented 9 months ago

What is the improvement or update you wish to see?

Reading NexJs amazing documentation I have found some mistake in word.

Import useRouter and usePathname from 'next/navigation', and use the replace method from userRouter() inside handleSearch:

Chapter 11

Is there any context that might help us understand?

It would be nice to update it, since NextJs doesn't have this type of hook.

Developers will try to use it, and will have a problem.

Does the docs page already exist? Please link to it.

https://nextjs.org/learn/dashboard-app/adding-search-and-pagination

vipinnation commented 9 months ago

@DemaPy I would like work on this issue

mukham12 commented 9 months ago

Thanks, Lee!

This is now fixed @DemaPy.