diff --git a/.dumi/theme/layouts/DocLayout/index.tsx b/.dumi/theme/layouts/DocLayout/index.tsx index f1f3db9fd2..31591e8614 100644 --- a/.dumi/theme/layouts/DocLayout/index.tsx +++ b/.dumi/theme/layouts/DocLayout/index.tsx @@ -1,18 +1,18 @@ -import React, { useContext, useEffect, useLayoutEffect, useMemo, useRef } from 'react'; -import 'dayjs/locale/zh-cn'; -import dayjs from 'dayjs'; -import { Helmet, useOutlet, useSiteData } from 'dumi'; -import '../../static/style'; import ConfigProvider from 'antd/es/config-provider'; -import classNames from 'classnames'; import zhCN from 'antd/es/locale/zh_CN'; -import SiteContext from '../../slots/SiteContext'; -import Header from '../../slots/Header'; -import Footer from '../../slots/Footer'; +import classNames from 'classnames'; +import dayjs from 'dayjs'; +import 'dayjs/locale/zh-cn'; +import { Helmet, useOutlet, useSiteData } from 'dumi'; +import React, { useContext, useEffect, useLayoutEffect, useMemo, useRef } from 'react'; import useLocale from '../../../hooks/useLocale'; import useLocation from '../../../hooks/useLocation'; -import ResourceLayout from '../ResourceLayout'; import GlobalStyles from '../../common/GlobalStyles'; +import Footer from '../../slots/Footer'; +import Header from '../../slots/Header'; +import SiteContext from '../../slots/SiteContext'; +import '../../static/style'; +import ResourceLayout from '../ResourceLayout'; import SidebarLayout from '../SidebarLayout'; const locales = { @@ -96,7 +96,7 @@ const DocLayout: React.FC = () => { {locale?.title}