This commit is contained in:
Boki 2025-06-16 18:37:20 -04:00
parent 065d3943f6
commit e9ff913b7e
3 changed files with 11 additions and 8 deletions

View file

@ -1,4 +1,4 @@
import { DashboardStats, DashboardActivity, PortfolioTable } from './components';
import { DashboardActivity, DashboardStats, PortfolioTable } from './components';
export function DashboardPage() {
return (

View file

@ -1,4 +1,9 @@
import { ArrowPathIcon, CheckCircleIcon, ExclamationTriangleIcon, XMarkIcon } from '@heroicons/react/24/outline';
import {
ArrowPathIcon,
CheckCircleIcon,
ExclamationTriangleIcon,
XMarkIcon,
} from '@heroicons/react/24/outline';
import { useEffect, useState } from 'react';
import { ExchangesTable } from './components/ExchangesTable';
import { useExchanges } from './hooks/useExchanges';
@ -95,9 +100,7 @@ export function ExchangesPage() {
>
{syncStatus.type === 'success' ? 'Sync Completed' : 'Sync Failed'}
</p>
<p className="text-xs mt-1 text-text-secondary">
{syncStatus.message}
</p>
<p className="text-xs mt-1 text-text-secondary">{syncStatus.message}</p>
</div>
<button
onClick={() => setSyncStatus({ type: null, message: '' })}