去除多余异常
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user