Skip to content

Commit

Permalink
fixe empty literature link
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudis committed Dec 17, 2024
1 parent 887dbac commit 6222cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LiteratureSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function LiteratureSearch({ id, datasetIds, plotGeneSymbols, setGeneSymbo
return (
<Loader isLoading={isLoading} hasError={error} background>
{data && (
<LiteratureSearchResultsTabbed label={data.response.results[0].label} plotGeneSymbols={plotGeneSymbols} setGeneSymbols={setGeneSymbols} plotCytoregionLabels={plotCytoregionLabels} setCytoregionSymbols={setCytoregionSymbols}/>
<LiteratureSearchResultsTabbed label={data.response?.results[0]?.label} plotGeneSymbols={plotGeneSymbols} setGeneSymbols={setGeneSymbols} plotCytoregionLabels={plotCytoregionLabels} setCytoregionSymbols={setCytoregionSymbols}/>
)}
</Loader>
);
Expand Down

0 comments on commit 6222cb7

Please sign in to comment.