Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Oct 24, 2024
1 parent ea894c6 commit 8765825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-date-pickers/src/DigitalClock/DigitalClock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export const DigitalClock = React.forwardRef(function DigitalClock(
);

const timeOptions = React.useMemo(() => {
const result: TDate[] = [];
const result: PickerValidDate[] = [];
const startOfDay = utils.startOfDay(valueOrReferenceDate);
let nextTimeStepOption = startOfDay;
while (utils.isSameDay(valueOrReferenceDate, nextTimeStepOption)) {
Expand Down

0 comments on commit 8765825

Please sign in to comment.