fix: resolve all TS6133 unused variable errors (Plans, ProjectGeneration, ProjectTasks)
Tests / test (push) Failing after 1s
Tests / lint (push) Failing after 1s
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

This commit is contained in:
CI Test
2026-06-28 11:17:52 +08:00
parent e418577097
commit 1ea75e5d33
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ const PLANS = [
const Plans: React.FC = () => {
const [subscribing, setSubscribing] = useState(false);
const handleSubscribe = async (planId: string) => {
const handleSubscribe = async (_planId: string) => {
try {
setSubscribing(true);
message.success('订阅成功');
@@ -98,7 +98,7 @@ const Timeline: React.FC<{
clips: EditPlanClipItem[];
totalDuration: number;
}> = ({ clips, totalDuration }) => {
const [scale] = useState(1);
const tickCount = 10;
const ticks = Array.from({ length: tickCount + 1 }, (_, i) => {
@@ -131,7 +131,7 @@ const Timeline: React.FC<{
<div className="timeline-track pip-track" />
<div className="timeline-track broll-track" />
{clips.map((clip) => (
<TimelineClip key={clip.id} clip={clip} scale={scale} totalDuration={totalDuration} />
<TimelineClip key={clip.id} clip={clip} totalDuration={totalDuration} />
))}
</div>
</div>
@@ -298,7 +298,7 @@ const ProjectGeneration: React.FC = () => {
const handleGenerate = async () => {
await form.validateFields();
try {
const _values = form.getFieldsValue();
form.getFieldsValue();
message.success("成片生成任务已创建");
setGenerateOpen(false);
form.resetFields();