Skip to content

Commit

Permalink
Fix parens
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc committed Oct 11, 2023
1 parent 3fc9880 commit 08add77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ export class UserSignOffField extends React.Component<IEditorProps> {
</ButtonGroup>
)}
</div>
{(sign_off_data.funding_source?.length ?? 0 > 0) && (
{(sign_off_data.funding_source?.length ?? 0) > 0 && (
<div className="sd-display-flex-column sd-margin-l--5 sd-padding-l--0-5 sd-margin-t--1">
<label className="form-label form-label--block">{gettext('Funding Source:')}</label>
<span>{sign_off_data.funding_source}</span>
</div>
)}

{(sign_off_data.affiliation?.length ?? 0 > 0) && (
{(sign_off_data.affiliation?.length ?? 0) > 0 && (
<div className="sd-display-flex-column sd-margin-l--5 sd-padding-l--0-5 sd-margin-t--1">
<label className="form-label form-label--block">{gettext('Affiliation:')}</label>
<span>{sign_off_data.affiliation}</span>
Expand Down

0 comments on commit 08add77

Please sign in to comment.