Skip to content

Commit

Permalink
fix: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aht007 committed Mar 21, 2022
1 parent de506ea commit a9a74fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/users/licenses/v2/LicenseCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function LicenseCard({
</Card.Header>
</Col>
<Col>
<Card.Header align="right" as="h4" subTitle={"Plan Expiration: " + formatDate(licenseRecord.subscriptionPlanExpirationDate)}/>
<Card.Header align="right" as="h4" subTitle={`Plan Expiration: ${formatDate(licenseRecord.subscriptionPlanExpirationDate)}`}/>
</Col>
</Row>

Expand Down
4 changes: 3 additions & 1 deletion src/users/v2/SingleSignOnRecordCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export default function SingleSignOnRecordCard({ ssoRecord }) {
);
}

const lastModified = modifiedDate => `${formatDate(modifiedDate)}`

return (
ssoRecord ? (
<Card className="pt-2 px-3 mb-1 w-100">
Expand All @@ -52,7 +54,7 @@ export default function SingleSignOnRecordCard({ ssoRecord }) {
</Card.Header>
</Col>
<Col>
<Card.Header align="right" as="h4" subTitle={formatDate(ssoRecord.modified) + "<span className=\"h5 text-muted\"> (Last Modified)</span>" } />
<Card.Header align="right" as="h4" subTitle={`${formatDate(ssoRecord.modified)} <span className=\"h5 text-muted\"> (Last Modified)</span>` } />
</Col>
</Row>

Expand Down

0 comments on commit a9a74fb

Please sign in to comment.