Update .dumi/pages/index/components/PreviewBanner/ComponentsBlock.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>
This commit is contained in:
遇见同学
2025-12-29 23:50:28 +08:00
parent 37a3ef15d8
commit 06a4287d73

View File

@@ -110,9 +110,8 @@ interface ComponentsBlockProps {
config: ThemeConfig;
}
const ComponentsBlock: React.FC<ComponentsBlockProps> = (props) => {
const ComponentsBlock: React.FC<ComponentsBlockProps> = ({ config }) => {
const [locale] = useLocale(locales);
const { config } = props;
return (
<ConfigProvider {...config}>