Next.js Discord

Discord Forum

Stuck While Following a Tutorial in the Learn Next.js Course

Unanswered
Silver Fox posted this in #help-forum
Open in Discord
Silver FoxOP
Hello, I am quite new to the programming language Next.js and am following the 'Learn Next.js' course

I have reached chapter 11 and have completed the code modifications. Here is the link to my project after finishing chapter 11:
https://next-js-dashboard-git-master-hamass-projects.vercel.app/dashboard/invoices

Below is the link to my GitHub repository:
https://github.com/haskel145/next.js-exam2

The issue I am encountering is that when I try to search, the invoice table does not return any search results. I have reviewed the code and can't figure out why. I would greatly appreciate any help or guidance. Thanks

2 Replies

Toyger
nextjs isn't a language, as advice you better start from learning javascript itself, before starting any js frameworks like nextjs.

about error, didn't look at all code but at least I see you replaced query with search screenshot attached
but in all other places it still query, so be bound to course and don't change provided names, and check all other steps from chapter, maybe you mistaken something other too.
Silver FoxOP
@Toyger Yes, it is my mistake. After replacing 'search' with 'query', it works. Thank you so much for correcting me.