Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 67d7933

Browse files
committedOct 28, 2021
fix duplicate key warning
1 parent 26a69ae commit 67d7933

File tree

1 file changed

+1
-1
lines changed
  • src/routes/PositionDetails/components/InterviewPopup/ManageAvailability

1 file changed

+1
-1
lines changed
 

‎src/routes/PositionDetails/components/InterviewPopup/ManageAvailability/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const ManageAvailability = ({ scheduleDetails, onContinue }) => {
189189
<div styleName="days">
190190
{days.map((day, index) => (
191191
<div
192-
key={day}
192+
key={daysMapped[index]}
193193
onClick={() => onDayChanged(daysMapped[index], slotIndex)}
194194
styleName={cn("day", {
195195
"selected-day": slot.days.indexOf(daysMapped[index]) > -1,

0 commit comments

Comments
 (0)