Skip to content

Commit 2c263cd

Browse files
committed
CalendarHeader - add missing 'disabledDaysIndexes' dependency to allow dynamic updates
1 parent 7a7dd7a commit 2c263cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/calendar/header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ const CalendarHeader = forwardRef((props: CalendarHeaderProps, ref) => {
186186
</Text>
187187
);
188188
});
189-
}, [firstDay, current, numberOfDays]);
189+
}, [firstDay, current, numberOfDays, disabledDaysIndexes]);
190190

191191
const _renderHeader = () => {
192192
const webProps = Platform.OS === 'web' ? {'aria-level': webAriaLevel} : {};

0 commit comments

Comments
 (0)