Skip to content

Commit

Permalink
fixed error formatting in live editor (facebook#9497)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsriram authored and gaearon committed Apr 26, 2017
1 parent cf24d87 commit 7ccfb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_js/live_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7ccfb07

Please sign in to comment.