fix(lint): 删除未使用的import和state变量
CI/CD Pipeline / Build Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 16s
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 16s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 2m4s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 2m7s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 2m12s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 3m11s
AI Code Review / AI Code Review (pull_request) Has been cancelled

This commit is contained in:
2026-07-19 19:25:05 +08:00
parent eee0eee359
commit eba78978db
@@ -29,8 +29,6 @@ import {
getMediaAssets,
getEditPlan,
getEditPlanClips,
type EditPlanClip,
type CreateEditPlanClipRequest,
} from "@/api/editPlans"
import { useUndoRedo } from "./hooks/useUndoRedo"
import type {
@@ -217,7 +215,7 @@ const EditingPlanner: React.FC = () => {
}
/* ── 剪辑计划(从列表页编辑进入时) ── */
const [loadedPlanId, setLoadedPlanId] = useState<string | null>(urlPlanId || null)
const [loadedPlanId] = useState<string | null>(urlPlanId || null)
/* ── 播放 ── */
const [isPlaying, setIsPlaying] = useState(false)