fix(web): 修复TimelinePanel中totalDuration重复声明的TS错误
Deploy / Staging E2E Tests (push) Failing after 84h51m9s
Deploy / Deploy Staging (push) Failing after 84h53m24s
CI/CD Pipeline / Frontend Lint (push) Failing after 84h56m59s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 84h57m6s
Deploy / Production Browser E2E (push) Failing after 1743h19m9s
Deploy / Deploy Production (push) Failing after 1743h19m11s
Deploy / Build Production Runtime Images (push) Failing after 1743h27m17s

This commit is contained in:
DevOps Bot
2026-07-05 23:57:25 +08:00
parent 3b92e72aa4
commit 5dde1243b5
@@ -121,7 +121,6 @@ const TimelinePanel: React.FC<TimelinePanelProps> = ({
rulerMarks.push(t);
}
const totalDuration = clips.reduce((sum, c) => sum + c.duration, 0);
const formatTime = (sec: number) => {
const m = Math.floor(sec / 60);
const s = Math.floor(sec % 60);