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 }
);