From 5b44e577a52b556da7e5ba6630d3dd2b04a04292 Mon Sep 17 00:00:00 2001 From: muxin <434980373@qq.com> Date: Mon, 27 Mar 2023 19:34:14 +0800 Subject: [PATCH] fix: fix demo filPath (#41488) --- .dumi/theme/builtins/Previewer/CodePreviewer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.dumi/theme/builtins/Previewer/CodePreviewer.tsx b/.dumi/theme/builtins/Previewer/CodePreviewer.tsx index e664f3f724..2f6c06568c 100644 --- a/.dumi/theme/builtins/Previewer/CodePreviewer.tsx +++ b/.dumi/theme/builtins/Previewer/CodePreviewer.tsx @@ -102,7 +102,7 @@ const CodePreviewer: React.FC = (props) => { style, compact, background, - filePath, + filename, version, clientOnly, } = props; @@ -399,7 +399,7 @@ createRoot(document.getElementById('container')).render(); {localizedTitle} - } filename={filePath} /> + } filename={filename} />
{introChildren}