Skip to content
RED SAGSkills
medium10 pts · first answer countsreactdata-fetching

Wrong orders shown for a new filter

Changing the status filter from "paid" to "due" still shows paid orders. What is wrong?

useQuery({
  queryKey: ["orders"],
  queryFn: () => getOrders(status),
})
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions