Skip to content

Commit e94d511

Browse files
authored
Fix example typo (#2621)
Fixed variable name fastDate -> pastDate
1 parent 2bd15c4 commit e94d511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/src/mocks/agendaItems.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import isEmpty from 'lodash/isEmpty';
22
import {MarkedDates} from '../../../src/types';
33

44
const today = new Date().toISOString().split('T')[0];
5-
const fastDate = getPastDate(3);
5+
const pastDate = getPastDate(3);
66
const futureDates = getFutureDates(12);
7-
const dates = [fastDate, today].concat(futureDates);
7+
const dates = [pastDate, today].concat(futureDates);
88

99
function getFutureDates(numberOfDays: number) {
1010
const array: string[] = [];

0 commit comments

Comments
 (0)