diff --git a/src/JSONValueNode.js b/src/JSONValueNode.js index 1f9ed60..3a01859 100644 --- a/src/JSONValueNode.js +++ b/src/JSONValueNode.js @@ -45,7 +45,7 @@ export default class JSONValueNode extends React.Component { {this.props.labelRenderer(this.props.keyName)}: {this.props.valueRenderer(this.props.valueGetter(this.props.value))} diff --git a/src/grab-node.js b/src/grab-node.js index d75e14b..7cb9916 100644 --- a/src/grab-node.js +++ b/src/grab-node.js @@ -47,19 +47,19 @@ export default function({ case 'Iterable': return ; case 'String': - return `"${raw}"`} />; + return `"${raw}"`} />; case 'Number': - return ; + return ; case 'Boolean': - return raw ? 'true' : 'false'} />; + return raw ? 'true' : 'false'} />; case 'Date': - return raw.toISOString()} />; + return raw.toISOString()} />; case 'Null': - return 'null'} />; + return 'null'} />; case 'Undefined': - return 'undefined'} />; + return 'undefined'} />; case 'Function': - return raw.toString()} />; + return raw.toString()} />; default: return false; }