fixed error formatting in live editor (#9497)

(cherry picked from commit 7ccfb07337)
This commit is contained in:
Sriram Thiagarajan
2017-04-26 17:32:12 +01:00
committed by Dan Abramov
parent be4f0c2f41
commit e38445d04a
+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);