瀏覽代碼

import useTranslation from next-i18next

kaori 3 年之前
父節點
當前提交
9eb970965c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/app/src/pages/UnsavedAlertDialog.tsx

+ 1 - 1
packages/app/src/pages/UnsavedAlertDialog.tsx

@@ -1,7 +1,7 @@
 import { useCallback, useEffect } from 'react';
 
 import { useRouter } from 'next/router';
-import { useTranslation } from 'react-i18next';
+import { useTranslation } from 'next-i18next';
 
 import { useIsEnabledUnsavedWarning } from '~/stores/editor';