Fix unused import and variable in AIConfigSection
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { useState, useEffect, useCallback } from 'react';
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
import { fetchAIStatus, testModel } from '@/api/ai';
|
||||
import type { AIStatus, TestModelResponse } from '@/types/ai.types';
|
||||
import type { TestModelResponse } from '@/types/ai.types';
|
||||
import { Bot, Zap, AlertTriangle, CheckCircle, Loader2, RefreshCw, Cpu, ChevronDown } from 'lucide-react';
|
||||
import { clsx } from 'clsx';
|
||||
|
||||
export function AIConfigSection() {
|
||||
const { data: aiStatus, isLoading, refetch } = useQuery({
|
||||
const { data: aiStatus, isLoading } = useQuery({
|
||||
queryKey: ['ai-status'],
|
||||
queryFn: fetchAIStatus,
|
||||
refetchInterval: 30000,
|
||||
|
||||
Reference in New Issue
Block a user