mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +08:00
docs: site wrap with strict mode (#34895)
* docs: site wrap with strict mode * chore: bump bisheng
This commit is contained in:
parent
a67c0d28d3
commit
3de8030e10
@ -188,7 +188,7 @@
|
||||
"argos-cli": "^0.3.0",
|
||||
"array-move": "^4.0.0",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
"bisheng": "^3.0.0",
|
||||
"bisheng": "^3.2.0",
|
||||
"bisheng-plugin-description": "^0.1.4",
|
||||
"bisheng-plugin-react": "^1.2.0",
|
||||
"bisheng-plugin-toc": "^0.4.4",
|
||||
|
@ -352,7 +352,9 @@ ReactDOM.render(<Demo />, document.getElementById('container'));
|
||||
let codeBox = (
|
||||
<section className={codeBoxClass} id={meta.id}>
|
||||
<section className="code-box-demo">
|
||||
<ErrorBoundary>{this.liveDemo}</ErrorBoundary>
|
||||
<ErrorBoundary>
|
||||
<React.StrictMode>{this.liveDemo}</React.StrictMode>
|
||||
</ErrorBoundary>
|
||||
{style ? <style dangerouslySetInnerHTML={{ __html: style }} /> : null}
|
||||
</section>
|
||||
<section className="code-box-meta markdown">
|
||||
|
Loading…
Reference in New Issue
Block a user