I\'m using react query to call an api to retreive a list of schedule dates for users to use to update a list of selected dates from a calendar. However I\'m not sure how to do t