Into VisitDetails.js I have:
VisitDetails.js
render() { const optionsdate = { year: "numeric", month: "long", day: "numer