fix: MailList imports - useState + remove duplicate Mail type
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* No pagination, no sort header — sorting is in toolbar SortPanel.
|
||||
*/
|
||||
|
||||
import React, { useRef, useEffect } from 'react';
|
||||
import React, { useState, useRef, useEffect } from 'react';
|
||||
import clsx from 'clsx';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import type { Mail } from '@/api/mail';
|
||||
@@ -12,7 +12,6 @@ import { EmptyState } from '@/components/ui/EmptyState';
|
||||
import { Loader2, Paperclip, Star, ChevronDown, ChevronRight } from 'lucide-react';
|
||||
import { formatSmartDate } from '@/utils/date';
|
||||
import type { GroupedMails } from '@/components/mail/MailGroupPanel';
|
||||
import type { Mail } from '@/api/mail';
|
||||
|
||||
export interface MailListProps {
|
||||
mails: Mail[];
|
||||
|
||||
Reference in New Issue
Block a user