useMoralisQuery making error

I am trying to get the favorites of the current user, but itโ€™s not working when I use the user from useMoralis.

How do I make the useMoraliseQuery Dynamic?

  const getFavorites = useMoralisQuery(
    "Favorites",
    (query) => query.equalTo("userId", user.id),
    [],
    { autoFetch: true }
  );

Hi @devatmetro,
Can you provide more details and Are there any error?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.