fix(lint): prettier格式修正
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 21h10m35s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 21h13m14s
CI/CD Pipeline / Frontend Lint (push) Failing after 21h14m45s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 21h14m45s

This commit is contained in:
灵应
2026-07-08 15:39:43 +08:00
parent 7dd407fb3a
commit 37a7bcb560
@@ -111,7 +111,11 @@ const TimelinePanel: React.FC<TimelinePanelProps> = ({
if (!showAddPicker) {
// 打开面板时,默认选中当前模式下的第一个可用类型
const defaultType =
currentMode === "pip" ? "pip" : currentMode === "voice_over" ? "voice" : "voice";
currentMode === "pip"
? "pip"
: currentMode === "voice_over"
? "voice"
: "voice";
setAddType(defaultType);
updatePickerPosition();
}