Skip to content

Commit

Permalink
Fix console icon bug
Browse files Browse the repository at this point in the history
  • Loading branch information
longouyang committed Oct 18, 2016
1 parent bcf4d9d commit ce48ebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var ResultText = React.createClass({
var count = this.props.count == 1 || this.props.count === undefined ? "" : "(" + this.props.count + ") ";
var message = this.props.message;

if (this.props.count == 1) {
if (this.props.count == 1 && this.subtype == 'log') {
return (<pre key={this.props._key} className='text'>{message}</pre>)
} else {
return (<div>
Expand Down

0 comments on commit ce48ebc

Please sign in to comment.