social-platform-donut-frontend
social-platform-donut-frontend copied to clipboard
[BUG] Searches persist in Members and Administrators Popup
Describe the bug Search results in the members and administrators modals persist on closing on opening the modals again. There is no way to clear the search result other than searching for blank or switching to a different page and stitching back, both of these are not intuitive and lead to bad user experience.
Steps to Reproduce Steps to reproduce the behavior:
- Go to Members or Administrators in the dashboard
- Search for a term
- Close the modal and re-open it again
- See the same search results again
Expected behavior The search should clear when the modal closes and on re-opening it while staying on the same page search results should not persist.
Screenshots

Desktop (please complete the following information):
- OS: Ubuntu 20.04
- Browser Chrome
- Version 85
Additional context Hacktoberfest
@ksraj123 Please Review
Fixed in: https://github.com/codeuino/social-platform-donut-frontend/pull/658
How can I contribute to this repo?
Forked the repo and cloned. While doing npm install and npm start showing error "'react-scripts' is not recognized as an internal or external command, operable program or batch file."
@ksraj123 please review my changes!