From 29bd6aaec13f4d2fd6a10510edb8df6dc7b10fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=A2?= Date: Tue, 22 Aug 2023 15:07:06 +0800 Subject: [PATCH] fix: cannot customize ContentFooter slot (#1846) --- src/client/theme-default/layouts/DocLayout/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/theme-default/layouts/DocLayout/index.tsx b/src/client/theme-default/layouts/DocLayout/index.tsx index eedbf8491a..58d8c08fe7 100644 --- a/src/client/theme-default/layouts/DocLayout/index.tsx +++ b/src/client/theme-default/layouts/DocLayout/index.tsx @@ -1,4 +1,3 @@ -import ContentFooter from '@/client/theme-default/slots/ContentFooter'; import { ReactComponent as IconSidebar } from '@ant-design/icons-svg/inline-svg/outlined/align-left.svg'; import animateScrollTo from 'animated-scroll-to'; import { @@ -11,6 +10,7 @@ import { useSiteData, } from 'dumi'; import Content from 'dumi/theme/slots/Content'; +import ContentFooter from 'dumi/theme/slots/ContentFooter'; import Features from 'dumi/theme/slots/Features'; import Footer from 'dumi/theme/slots/Footer'; import Header from 'dumi/theme/slots/Header';