@samitouri / QOS-React / commits / 7ccfb07337

fixed error formatting in live editor (#9497)

Sriram Thiagarajan committed Apr 26, 2017 at 18:36 UTC 7ccfb0733716be809e189b53682289d6cfb34a20
1 file changed +1 -1
docs/_js/live_editor.js
+1 -1
@@ -221,7 +221,7 @@ var ReactPlayground = React.createClass({
221 } catch (err) {
222 this.setTimeout(function() {
223 ReactDOM.render(
224 - <div className="playgroundError">{err.toString()}</div>,
224 + <pre style={{overflowX: 'auto'}} className="playgroundError">{err.toString()}</pre>,
225 mountNode
226 );
227 }, 500);