Update intl library imports in mail components

This commit is contained in:
Aj Wazzan
2025-04-17 18:52:47 -07:00
parent a7d92c5c22
commit ac75d3e9eb
2 changed files with 3 additions and 3 deletions

View File

@@ -33,8 +33,8 @@ import { useParams, useRouter } from 'next/navigation';
import { modifyLabels } from '@/actions/mail';
import { LABELS, FOLDERS } from '@/lib/utils';
import { useStats } from '@/hooks/use-stats';
import { useTranslations } from 'next-intl';
import { useMail } from '../mail/use-mail';
import { useTranslations } from 'use-intl';
import { type ReactNode } from 'react';
import { useQueryState } from 'nuqs';
import { useMemo } from 'react';

View File

@@ -14,10 +14,10 @@ import { useDrafts } from '@/hooks/use-drafts';
import { useSession } from '@/lib/auth-client';
import { ScrollArea } from '../ui/scroll-area';
import { useRouter } from 'next/navigation';
import { useTranslations } from 'use-intl';
import { useTranslations } from 'next-intl';
import { ChevronDown } from 'lucide-react';
import { Button } from '../ui/button';
import { toast } from 'sonner';
import { ChevronDown } from 'lucide-react';
const Draft = ({ message, onClick }: ThreadProps) => {
const [mail] = useMail();