successfully searched for goals through getGoals gql query, and Apollo's useLazyQuery