docs: fix debug demo style (#41738)

This commit is contained in:
MadCcc 2023-04-10 21:03:53 +08:00 committed by GitHub
parent 0eed438d76
commit d998c2fabc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,13 +35,6 @@ const DemoWrapper: typeof DumiDemoGrid = ({ items }) => {
previewerProps: {
...previewerProps,
expand: expandAll,
// always override debug property, because dumi will hide debug demo in production
debug: false,
/**
* antd extra marker for the original debug
* @see https://github.com/ant-design/ant-design/pull/40130#issuecomment-1380208762
*/
originDebug: debug,
},
});
}, [] as typeof items),