Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/scripts/Datepicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ const DatepickerDate: FC<DatepickerDateProps> = (props) => {
>
<span
className='slds-day'
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
tabIndex={selectable ? 0 : -1}
onClick={selectable ? onDateClick : undefined}
onKeyDown={selectable ? onDateKeyDown : undefined}
Expand Down Expand Up @@ -301,7 +300,6 @@ const DatepickerMonth = forwardRef(
<thead>
<tr>
{dayjs.weekdaysMin(true).map((wd, i) => (
// eslint-disable-next-line react/no-array-index-key
<th key={i}>
<abbr title={dayjs().weekday(i).format('ddd')}>{wd}</abbr>
</th>
Expand All @@ -310,7 +308,6 @@ const DatepickerMonth = forwardRef(
</thead>
<tbody>
{cal.weeks.map((days, i) => (
// eslint-disable-next-line react/no-array-index-key
<tr key={i}>
{days.map((date, dayIndex) => (
<DatepickerDate
Expand Down
2 changes: 1 addition & 1 deletion stories/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export const FormElements: StoryObj<StoryProps> = {
.map((a, i) => (
<PicklistItem
value={i + 1}
label={`Item #${i + 1}`} // eslint-disable-next-line react/no-array-index-key
label={`Item #${i + 1}`}
key={i}
/>
))}
Expand Down