This issue was happening when firstWeekDay of month is 7 and firstDay prop value is 0 which make startIndex 7 but as per logic startIndex should be from 0 to 6, so this leads render of an empty row as first row.
Fix: Correct value of startIndex for this case should be 0. Hence added % 7 to restrict startIndex to be from 0 to 6.
Fixes #378
This issue was happening when firstWeekDay of month is 7 and firstDay prop value is 0 which make startIndex 7 but as per logic startIndex should be from 0 to 6, so this leads render of an empty row as first row.
Fix: Correct value of startIndex for this case should be 0. Hence added % 7 to restrict startIndex to be from 0 to 6.