diff --git a/packages/app/components/stackbox/Stackbox.tsx b/packages/app/components/stackbox/Stackbox.tsx index c3a8221f..94255b2e 100644 --- a/packages/app/components/stackbox/Stackbox.tsx +++ b/packages/app/components/stackbox/Stackbox.tsx @@ -487,6 +487,10 @@ export const Stackbox = () => { { + const isEndTimeBeforeStartTime = + date.getTime() <= startDateTime.getTime(); + + setShowPastEndDateError(isEndTimeBeforeStartTime); deselectStrategy(); setEndDateTime(date); }}