mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
Update index.tsx
This commit is contained in:
@@ -23,8 +23,6 @@ import { useTranslation } from 'react-i18next';
|
|||||||
import { getToken } from '@/stores/authStore';
|
import { getToken } from '@/stores/authStore';
|
||||||
import { useNavigate } from '@tanstack/react-router';
|
import { useNavigate } from '@tanstack/react-router';
|
||||||
import useMinimalAccountList from '@/hooks/use-minimal-account-list';
|
import useMinimalAccountList from '@/hooks/use-minimal-account-list';
|
||||||
import { Badge } from '@/components/ui/badge';
|
|
||||||
import LongText from '@/components/long-text';
|
|
||||||
|
|
||||||
interface DailyActivity {
|
interface DailyActivity {
|
||||||
date: string;
|
date: string;
|
||||||
@@ -108,7 +106,7 @@ export default function MailArchiveDashboard() {
|
|||||||
queryKey: ['dashboard-stats'],
|
queryKey: ['dashboard-stats'],
|
||||||
enabled: !!token,
|
enabled: !!token,
|
||||||
queryFn: get_dashboard_stats,
|
queryFn: get_dashboard_stats,
|
||||||
placeholderData: INITIAL_DASHBOARD_STATS,
|
initialData: INITIAL_DASHBOARD_STATS,
|
||||||
});
|
});
|
||||||
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|||||||
Reference in New Issue
Block a user