Skip to content

Commit

Permalink
fix: check datePicker option's key value
Browse files Browse the repository at this point in the history
  • Loading branch information
alexunique0519 committed Sep 26, 2022
1 parent 59ad49c commit 83b7fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DatePicker/DatePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function DatePicker(props) {
className="ds-w-165px ds-py-5px ds-flex ds-px-14px ds-date-text ds-border-1.5 ds-border-multi-neutrals-grey85a ds-rounded"
>
{monthValues.map((mv, index) => (
<option value={mv} key={index}>
<option value={mv} key={`datePicker-month-option-${index}`}>
{language.datePicker.months[mv]}
</option>
))}
Expand Down

0 comments on commit 83b7fb1

Please sign in to comment.