refactoring

This commit is contained in:
2025-11-10 15:43:26 +01:00
parent ce4ff192cb
commit c2710f0a67
3 changed files with 5 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ import { de } from 'date-fns/locale';
import { buildSelectionRange } from '../utils/dateUtils';
const RangePickerModal = ({ entry, minDate, onSelectRange, onResetRange, onClose }) => {
if (!entry || entry.desiredWeekday) {
if (!entry) {
return null;
}