fixed error formatting in live editor (#9497)

This commit is contained in:
Sriram Thiagarajan
2017-04-26 14:06:53 +01:00
committed by Dan Abramov
parent cf24d87177
commit 7ccfb07337
+1 -1
View File
@@ -221,7 +221,7 @@ var ReactPlayground = React.createClass({
} catch (err) {
this.setTimeout(function() {
ReactDOM.render(
<div className="playgroundError">{err.toString()}</div>,
<pre style={{overflowX: 'auto'}} className="playgroundError">{err.toString()}</pre>,
mountNode
);
}, 500);