{Doctor.day1 && Doctor.**day1**.map((row) => (
<Link className="timing" to={''}>
<span>{row.start}</span> <span>AM</span>
</Link>
))}
how can I dynamically add the value of day1
to the above code,here doctor is a state variable and day1 is the array inside doctor state.