This commit is contained in:
Cassie Tarakajian 2018-05-09 10:34:36 -07:00
parent 7c542beeaf
commit 593621af62

View file

@ -39,7 +39,7 @@ class Console extends React.Component {
</div>
<div ref={(element) => { this.consoleMessages = element; }} className="preview-console__messages">
{this.props.consoleEvents.map((consoleEvent) => {
const { args, method } = consoleEvent;
const { arguments: args, method } = consoleEvent;
if (Object.keys(args).length === 0) {
return (
<div key={consoleEvent.id} className="preview-console__undefined">