refactor(rundown): improve visibility of count to end

This commit is contained in:
Carlos Valente
2026-07-14 14:52:50 +02:00
committed by Carlos Valente
parent f598e8dab1
commit 64082ceac0
4 changed files with 15 additions and 11 deletions
@@ -14,7 +14,6 @@ import style from './TimeInputFlow.module.scss';
interface TimeInputFlowProps {
eventId: string;
countToEnd: boolean;
timeStart: number;
timeEnd: number;
duration: number;
@@ -27,7 +26,6 @@ interface TimeInputFlowProps {
export default memo(TimeInputFlow);
function TimeInputFlow({
eventId,
countToEnd,
timeStart,
timeEnd,
duration,
@@ -56,10 +54,6 @@ function TimeInputFlow({
warnings.push('Over midnight');
}
if (countToEnd) {
warnings.push('Count to End');
}
const hasDelay = delay !== 0;
const isLockedEnd = timeStrategy === TimeStrategy.LockEnd;
const isLockedDuration = timeStrategy === TimeStrategy.LockDuration;