fix: replace react-i18n with affine/i18n

This commit is contained in:
DiamondThree
2023-01-10 14:27:57 +08:00
parent f251ae7437
commit 9395b8989d
8 changed files with 12 additions and 12 deletions
@@ -4,7 +4,7 @@ import { useAppState } from '@/providers/app-state-provider';
import { useConfirm } from '@/providers/ConfirmProvider';
import { useRouter } from 'next/router';
import useCurrentPageMeta from '@/hooks/use-current-page-meta';
import { useTranslation } from 'react-i18next';
import { useTranslation } from '@affine/i18n';
export const TrashButtonGroup = () => {
const { permanentlyDeletePage } = usePageHelper();