Skip to content

Commit dd31946

Browse files
(Datepicker): remove unnecessary eslint-disable- comments
1 parent c591e06 commit dd31946

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/scripts/Datepicker.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ const DatepickerDate: FC<DatepickerDateProps> = (props) => {
261261
>
262262
<span
263263
className='slds-day'
264-
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
265264
tabIndex={selectable ? 0 : -1}
266265
onClick={selectable ? onDateClick : undefined}
267266
onKeyDown={selectable ? onDateKeyDown : undefined}
@@ -301,7 +300,6 @@ const DatepickerMonth = forwardRef(
301300
<thead>
302301
<tr>
303302
{dayjs.weekdaysMin(true).map((wd, i) => (
304-
// eslint-disable-next-line react/no-array-index-key
305303
<th key={i}>
306304
<abbr title={dayjs().weekday(i).format('ddd')}>{wd}</abbr>
307305
</th>
@@ -310,7 +308,6 @@ const DatepickerMonth = forwardRef(
310308
</thead>
311309
<tbody>
312310
{cal.weeks.map((days, i) => (
313-
// eslint-disable-next-line react/no-array-index-key
314311
<tr key={i}>
315312
{days.map((date, dayIndex) => (
316313
<DatepickerDate

0 commit comments

Comments
 (0)