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}