Skip to content

Commit f763045

Browse files
committed
change index for week
1 parent 073ba10 commit f763045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-calendar/src/Calendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import WeekView from './WeekView.js';
4343

4444
const baseClassName = 'react-calendar';
4545
const allViews = ['century', 'decade', 'year', 'month', 'week'] as const;
46-
const allValueTypes = ['decade', 'year', 'month', 'week', 'day'] as const;
46+
const allValueTypes = ['decade', 'year', 'month', 'day', 'day'] as const;
4747

4848
const defaultMinDate = new Date();
4949
defaultMinDate.setFullYear(1, 0, 1);

0 commit comments

Comments
 (0)