去除多余异常

This commit is contained in:
小贺
2025-09-06 19:59:32 +08:00
parent 557aef7a7f
commit 307dd031eb
4 changed files with 9 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
import React, { useState, useEffect } from 'react';
import { useState, useEffect } from 'react';
import { AlertCircle, RefreshCw } from 'lucide-react';
import { ApiKeyForm } from './components/ApiKeyForm';
import { ApiKeyCard } from './components/ApiKeyCard';

View File

@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { CheckCircle2, XCircle, Loader2, Trash2, RefreshCw, Copy, Eye, EyeOff } from 'lucide-react';
import { useState } from 'react';
import { CheckCircle2, XCircle,Trash2, RefreshCw, Copy, Eye, EyeOff } from 'lucide-react';
import { apiKeyService } from '../services/api';
import type { ApiKey } from '../types/api';

View File

@@ -1,5 +1,4 @@
import React from 'react';
import { CheckCircle, XCircle, DollarSign, Zap } from 'lucide-react';
import { CheckCircle, XCircle, Zap,JapaneseYen } from 'lucide-react';
import type { ApiKey } from '../types/api';
interface StatsProps {
@@ -36,8 +35,8 @@ export function Stats({ apiKeys }: StatsProps) {
},
{
name: '总余额',
value: `$${totalBalance.toFixed(2)}`,
icon: DollarSign,
value: `¥${totalBalance.toFixed(2)}`,
icon: JapaneseYen,
color: 'text-blue-600',
bgColor: 'bg-blue-50',
},