Moved the isToday check out of the day componenet.
This commit is contained in:
@@ -100,6 +100,7 @@ const Calender = (newDate?: UpdateCalendarProps): JSX.Element => {
|
||||
date={date}
|
||||
selectedDate={selectedDate}
|
||||
currDate={currDate}
|
||||
isToday={isSameDay(currDate, date)}
|
||||
key={
|
||||
id.length
|
||||
? id
|
||||
|
||||
Reference in New Issue
Block a user