Skip to content

Commit 6957d03

Browse files
committed
fix: 删除无效变量
1 parent fe7c1c5 commit 6957d03

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

website/src/component/Preview/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ const getBooleanValue = (param, field, defaultValue) => {
3434
};
3535

3636
const Preview = ({ path, ...mdData }) => {
37-
const Preview = CodeLayout.Preview;
38-
const Code = CodeLayout.Code;
39-
const Toolbar = CodeLayout.Toolbar;
4037
const $dom = useRef(null);
4138
return (
4239
<Wrapper ref={$dom}>

0 commit comments

Comments
 (0)