@@ -1,5 +1,5 @@
|
|||||||
import { useState, useEffect } from 'react'
|
import { useState, useEffect } from 'react'
|
||||||
import { RefreshCw, Lock, Loader2, X, Search, FileText, Database, Clock, CheckCircle2, Hourglass, Lightbulb, ExternalLink } from 'lucide-react'
|
import { RefreshCw, Lock, Loader2, X, Search, FileText, Database, CheckCircle2, Hourglass, Lightbulb, ExternalLink } from 'lucide-react'
|
||||||
import { PageHeader } from '@/components/PageHeader'
|
import { PageHeader } from '@/components/PageHeader'
|
||||||
import { EmptyState } from '@/components/EmptyState'
|
import { EmptyState } from '@/components/EmptyState'
|
||||||
import { useCapabilities } from '@/lib/useSharedQueries'
|
import { useCapabilities } from '@/lib/useSharedQueries'
|
||||||
@@ -222,7 +222,6 @@ export function Financials() {
|
|||||||
const doneThisRound = tableDoneThisRound(key)
|
const doneThisRound = tableDoneThisRound(key)
|
||||||
const isThisSyncing = currentSyncingTable === key
|
const isThisSyncing = currentSyncingTable === key
|
||||||
const isWaiting = isWaitingTable(key)
|
const isWaiting = isWaitingTable(key)
|
||||||
const lsTime = lastSync[key]
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
key={key}
|
key={key}
|
||||||
@@ -271,12 +270,6 @@ export function Financials() {
|
|||||||
<div className="text-[11px] text-muted mt-0.5">
|
<div className="text-[11px] text-muted mt-0.5">
|
||||||
{fmtBigNum(info?.symbols ?? 0)} 只标的
|
{fmtBigNum(info?.symbols ?? 0)} 只标的
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-auto pt-2 border-t border-border/40 text-[10px] text-muted flex items-center gap-1">
|
|
||||||
<Clock className="h-2.5 w-2.5 shrink-0" />
|
|
||||||
{lsTime
|
|
||||||
? new Date(lsTime).toLocaleString('zh-CN', { month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit' })
|
|
||||||
: '尚未同步'}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user