Browse Source

fixed error formatting in live editor (#9497)

main
Sriram Thiagarajan 8 years ago
committed by Dan Abramov
parent
commit
4137f4fb78
  1. 2
      _js/live_editor.js

2
_js/live_editor.js

@ -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);

Loading…
Cancel
Save