RepoRater
RepoRater copied to clipboard
[BUG] Search on User Rankings page not working
Has this bug been raised before?
- [X] I have checked "open" AND "closed" issues and this is not a duplicate
Where did you find this bug?
production
Description
On the user ratings page, the search does not work.
In the browser console you can see an error:
Uncaught TypeError: t is not a function
Steps to Reproduce
- Go to user rankings page.
- Search anything in the search bar on the top.
- Users are not filtered.
- Browser console has an error:
Uncaught TypeError: t is not a function
Screenshots
No response
Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this
In app/rankings/page.js
, we aren't passing setKeyword callback to <SideNav> like we do in app/page.js
. Need to pass this callback and filter the Users
component with keyword by searching on name of the users