Use escaped to access content-type

This commit is contained in:
Jonas Whidden 2016-07-17 09:20:37 -05:00
parent 4c8bdc27ec
commit 151cb22684

View file

@ -41,7 +41,7 @@ var FormatItem = React.createClass({
var author = results.author;
var language = results.language;
var license = results.license;
var fileContentType = results.content_type;
var fileContentType = results['content-type'];
return (
<div className="row-fluid" style={formatItemStyle}>