diff --git a/js/page/discover.js b/js/page/discover.js index d627df4d3..dcbf190e9 100644 --- a/js/page/discover.js +++ b/js/page/discover.js @@ -41,11 +41,15 @@ var SearchNoResults = React.createClass({ var SearchResults = React.createClass({ render: function() { - var rows = []; + var rows = [], + seenNames = {}; //fix this when the search API returns claim IDs this.props.results.forEach(function({name, value}) { - rows.push( - - ); + if (!seenNames[name]) { + seenNames[name] = name; + rows.push( + + ); + } }); return (
{rows}