diff --git a/Libraries/ReactIOS/InspectorOverlay.js b/Libraries/ReactIOS/InspectorOverlay.js index a70d3b85d..8b5c6c0cb 100644 --- a/Libraries/ReactIOS/InspectorOverlay.js +++ b/Libraries/ReactIOS/InspectorOverlay.js @@ -75,7 +75,9 @@ var InspectorOverlay = React.createClass({ var ElementProperties = React.createClass({ render: function() { - var path = this.props.hierarchy.map((instance) => instance.getName()).join(' > '); + var path = this.props.hierarchy.map((instance) => { + return instance.getName ? instance.getName() : 'Unknown'; + }).join(' > '); return (