Skip to content

Commit c0f0fa3

Browse files
author
farhoudshapouran
committedOct 30, 2023
fix: change daysSelector ui based on displayFullDays value
1 parent 7a43efe commit c0f0fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/components/DaySelector.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const DaySelector = () => {
1010
const days = useMemo(
1111
() => utils.getMonthDays(currentDate),
1212
// eslint-disable-next-line react-hooks/exhaustive-deps
13-
[month, year]
13+
[month, year, utils.displayFullDays]
1414
);
1515

1616
const handleSelectDate = (date: string) => {

0 commit comments

Comments
 (0)