From 3de8030e101cc6816cb20179f75f661ba0ee2ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Thu, 7 Apr 2022 14:10:49 +0800 Subject: [PATCH] docs: site wrap with strict mode (#34895) * docs: site wrap with strict mode * chore: bump bisheng --- package.json | 2 +- site/theme/template/Content/Demo/index.jsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ca512cc8cd..31baa00948 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/site/theme/template/Content/Demo/index.jsx b/site/theme/template/Content/Demo/index.jsx index 72bebe6da2..24417a6108 100644 --- a/site/theme/template/Content/Demo/index.jsx +++ b/site/theme/template/Content/Demo/index.jsx @@ -352,7 +352,9 @@ ReactDOM.render(, document.getElementById('container')); let codeBox = (
- {this.liveDemo} + + {this.liveDemo} + {style ?