Skip to content

Commit

Permalink
Remove unused variables added for #1183
Browse files Browse the repository at this point in the history
  • Loading branch information
jvwong committed Jun 27, 2023
1 parent e8d7e9b commit 35775eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client/components/element-info/entity-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ class EntityInfo extends DataComponent {
let doc = p.document;
let children = [];

const citation = doc.citation();
const { pmid } = citation;
// const citation = doc.citation();
// const { pmid } = citation;

const hasPubmedMetadata = pmid != null;
// const hasPubmedMetadata = pmid != null;

let Loader = ({ loading = true }) => h('div.entity-info-matches-loading' + (loading ? '.entity-info-matches-loading-active' : ''), [
loading ? h('i.icon.icon-spinner') : h('i.material-icons', 'remove')
Expand Down Expand Up @@ -612,7 +612,7 @@ class EntityInfo extends DataComponent {
if( isComplex(s.element.type()) ){
const entityNames = s.element.participants().map(ppt => ppt.name());
children.push( h('div.entity-info-assoc', targetFromAssoc({ type, name, entityNames }, true )) );

if (hasRelatedPapers) {
children.push( h('div.entity-info-reld-papers-title', `Recommended articles`) );

Expand Down

0 comments on commit 35775eb

Please sign in to comment.