You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just tinkering around with your library. Thank you for starting such a project!
In your Quickstart hooks example, the keys are invalid since some of them are duplicated.
// example in the README{days.map((dpDay)=>(<likey={`${month}-${dpDay.day}`}><button{...dayButton(dpDay,{onClick: onDayClick})}>{dpDay.day}</button></li>))}
You're interpolating the current month and the day value, so there will be duplicates with the days from the previous and the next month. I'd just print the date string representation of the $date property.
Hey 👋
I was just tinkering around with your library. Thank you for starting such a project!
In your Quickstart hooks example, the keys are invalid since some of them are duplicated.
You're interpolating the current month and the day value, so there will be duplicates with the days from the previous and the next month. I'd just print the date string representation of the
$date
property.The text was updated successfully, but these errors were encountered: