Closed sunnydl closed 2 years ago
So it seems like the useEffect in app.tsx is making a get request even if the user did not do or input anything.
Can we add a button to make it so that when the user press enter or press that button, then the search happens?
Let me know if you want to discuss the implementation of it or any concerns u have regarding this issue. Thanks!
So it seems like the useEffect in app.tsx is making a get request even if the user did not do or input anything.
Can we add a button to make it so that when the user press enter or press that button, then the search happens?
Let me know if you want to discuss the implementation of it or any concerns u have regarding this issue. Thanks!