useEffect and useQuery
I am trying to useEffect with useQuery. My purpose is removing item from collection when someone clicks the delete button. I do not want to refresh page, so i have to use useEffect. I tried something like that, but no change. Do you have any idea about how i can do that?

