fix: build error
This commit is contained in:
parent
a204c07dc2
commit
a3a75973aa
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useEffect, useState, useCallback, useMemo } from 'react';
|
||||
import React, { useEffect, useState, useCallback } from 'react';
|
||||
import {
|
||||
Brain, Clock, CheckCircle, XCircle, AlertCircle, Pause, Play, Square,
|
||||
TrendingUp, BarChart3, Eye, Star, Target
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { useEffect, useState } from 'react';
|
||||
import { useParams, useNavigate } from 'react-router-dom';
|
||||
import { ArrowLeft, FolderOpen, Settings, Upload, FileVideo, FileAudio, FileImage, HardDrive, Brain, Loader2 } from 'lucide-react';
|
||||
import { ArrowLeft, FolderOpen, Upload, FileVideo, FileAudio, FileImage, HardDrive, Brain, Loader2 } from 'lucide-react';
|
||||
import { useProjectStore } from '../store/projectStore';
|
||||
import { useMaterialStore } from '../store/materialStore';
|
||||
import { useVideoClassificationStore } from '../store/videoClassificationStore';
|
||||
|
|
@ -33,14 +33,14 @@ export const ProjectDetails: React.FC = () => {
|
|||
const {
|
||||
startProjectBatchClassification,
|
||||
isLoading: classificationLoading,
|
||||
error: classificationError,
|
||||
error: _classificationError,
|
||||
queueStats,
|
||||
getProjectQueueStatus
|
||||
} = useVideoClassificationStore();
|
||||
const [project, setProject] = useState<Project | null>(null);
|
||||
const [showImportDialog, setShowImportDialog] = useState(false);
|
||||
const [activeTab, setActiveTab] = useState<'materials' | 'debug' | 'ai-logs'>('materials');
|
||||
const [batchClassificationResult, setBatchClassificationResult] = useState<ProjectBatchClassificationResponse | null>(null);
|
||||
const [_batchClassificationResult, setBatchClassificationResult] = useState<ProjectBatchClassificationResponse | null>(null);
|
||||
|
||||
// 加载项目详情
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue