RepoRater icon indicating copy to clipboard operation
RepoRater copied to clipboard

[BUG] Search on User Rankings page not working

Open vneogi199 opened this issue 1 year ago • 4 comments

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

  1. Go to user rankings page.
  2. Search anything in the search bar on the top.
  3. Users are not filtered.
  4. 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

vneogi199 avatar Jan 09 '24 18:01 vneogi199