How do I wait for a useQuery declaration to return before proceeding? - Convex Community