MohamedDanis / opnhub

https://opnhub.vercel.app
15 stars 11 forks source link

Search Button bug #9

Closed siddxharth1 closed 1 month ago

siddxharth1 commented 1 month ago

Currently, when the user clicks the search button, it triggers an API call to fetch data. However, the search button remains clickable even while the data is being fetched. This allows users to click the button multiple times, resulting in multiple API calls being made concurrently. This behavior causes performance issues, unnecessary server load, and can lead to inconsistent data or unintended side effects.

image

I would like to resolve this issue so can you assign this issue to me under Hacktoberfest 2024

MohamedDanis commented 1 month ago

please create a branch with your name and make a pr