Correct how SD hashes are extracted in SearchResults
This commit is contained in:
parent
f8ae201e76
commit
8a1f0b76b1
1 changed files with 2 additions and 2 deletions
|
@ -42,9 +42,9 @@ var SearchNoResults = React.createClass({
|
||||||
var SearchResults = React.createClass({
|
var SearchResults = React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
var rows = [];
|
var rows = [];
|
||||||
this.props.results.forEach(function({name, sources, value}) {
|
this.props.results.forEach(function({name, value}) {
|
||||||
rows.push(
|
rows.push(
|
||||||
<FileTile key={name} name={name} sdHash={sources.lbry_sd_hash} metadata={value} />
|
<FileTile key={name} name={name} sdHash={value.sources.lbry_sd_hash} metadata={value} />
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue