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
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user