fix: resolve TypeScript unused variable errors in ProjectGeneration.tsx and ProjectTasks.tsx
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Tests / lint (push) Failing after 1924h15m56s
Tests / test (push) Failing after 1924h15m58s

This commit is contained in:
CI Test
2026-06-28 11:14:47 +08:00
parent 02f21e0f1d
commit e418577097
2 changed files with 3 additions and 3 deletions
@@ -98,7 +98,7 @@ const Timeline: React.FC<{
clips: EditPlanClipItem[];
totalDuration: number;
}> = ({ clips, totalDuration }) => {
const [scale, setScale] = useState(1);
const [scale] = useState(1);
const tickCount = 10;
const ticks = Array.from({ length: tickCount + 1 }, (_, i) => {
@@ -298,7 +298,7 @@ const ProjectGeneration: React.FC = () => {
const handleGenerate = async () => {
await form.validateFields();
try {
const values = form.getFieldsValue();
const _values = form.getFieldsValue();
message.success("成片生成任务已创建");
setGenerateOpen(false);
form.resetFields();
@@ -2,7 +2,7 @@
* 项目任务中心 - V21 UI
*/
import React from 'react';
import { Alert, Button, Card, Empty, List, Progress, Space, Tag, Typography } from 'antd';
import { Alert, Button, List, Progress, Space, Tag, Typography } from 'antd';
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
import { useParams } from 'react-router-dom';
import { getProjectTasks, retryProjectTask } from '@/api/tasks';