How to not send request in specific condition in useQuery()
I have this in my code so in beginning
search
is empty string and is it possible to write condition when it should run request and when not, when search
is empty I dont want to run request2 Replies
Solution
enabled: !!search
thankss