Moved the isToday check out of the day componenet.

This commit is contained in:
Lucid Kobold
2022-04-11 14:15:01 -05:00
parent f6115a928c
commit a256cbd1e3
2 changed files with 7 additions and 4 deletions

View File

@@ -100,6 +100,7 @@ const Calender = (newDate?: UpdateCalendarProps): JSX.Element => {
date={date}
selectedDate={selectedDate}
currDate={currDate}
isToday={isSameDay(currDate, date)}
key={
id.length
? id