update lighthouse call in useLighthouse
This commit is contained in:
parent
4cd6dc01ef
commit
b2386cc400
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ export default function useLighthouse(
|
|||
let isSubscribed = true;
|
||||
lighthouse
|
||||
.search(throttledQuery)
|
||||
.then((results) => {
|
||||
.then(({ body: results }) => {
|
||||
if (isSubscribed) {
|
||||
setResults(
|
||||
results.map((result) => `lbry://${result.name}#${result.claimId}`).filter((uri) => isURIValid(uri))
|
||||
|
|
Loading…
Reference in a new issue