refactor: 更新语言类型导入路径,统一使用 '@/types/i18n'
This commit is contained in:
@@ -5,7 +5,8 @@ import CategoryCard from '../../components/blog/CategoryCard.astro';
|
||||
import TagCard from '../../components/blog/TagCard.astro';
|
||||
import Container from '../../components/ui/Container';
|
||||
import { type BlogPost } from '@/types';
|
||||
import { type Lang, useTranslations } from '@/i18n/utils';
|
||||
import { useTranslations } from '@/i18n/utils';
|
||||
import { type Lang } from '@/types/i18n';
|
||||
import { defaultLang } from '@/i18n/ui';
|
||||
import { sortPostsByDate } from '@/utils/blog-utils';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user