fixex #627
This commit is contained in:
parent
7c542beeaf
commit
593621af62
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Console extends React.Component {
|
||||||
</div>
|
</div>
|
||||||
<div ref={(element) => { this.consoleMessages = element; }} className="preview-console__messages">
|
<div ref={(element) => { this.consoleMessages = element; }} className="preview-console__messages">
|
||||||
{this.props.consoleEvents.map((consoleEvent) => {
|
{this.props.consoleEvents.map((consoleEvent) => {
|
||||||
const { args, method } = consoleEvent;
|
const { arguments: args, method } = consoleEvent;
|
||||||
if (Object.keys(args).length === 0) {
|
if (Object.keys(args).length === 0) {
|
||||||
return (
|
return (
|
||||||
<div key={consoleEvent.id} className="preview-console__undefined">
|
<div key={consoleEvent.id} className="preview-console__undefined">
|
||||||
|
|
Loading…
Reference in a new issue