Solutionunvalidated

try to send parameter in an object format. — useQuery(['users'], async() => {. Tension: Starting with v5, only the "Object" form is allowed when calling query related functions. Outcome: const {data: users = [], refetch} = useQuery({queryKey:['users'], queryFn: async() => {.

c1f3a44d-d2a3-42ec-ba19-2e25381c6a05

try to send parameter in an object format. — useQuery(['users'], async() => {. Tension: Starting with v5, only the "Object" form is allowed when calling query related functions. Outcome: const {data: users = [], refetch} = useQuery({queryKey:['users'], queryFn: async() => {.