fix(client): add hours back to certifications (#51215)

This commit is contained in:
Shaun Hamilton
2023-09-05 01:40:41 +03:00
committed by GitHub
parent 18922fabe1
commit 7a3dd31f69
3 changed files with 15 additions and 2 deletions
@@ -217,7 +217,13 @@ const ShowCertification = (props: ShowCertificationProps): JSX.Element => {
return <RedirectHome />;
}
const { date, name: userFullName = null, username, certTitle } = cert;
const {
date,
name: userFullName = null,
username,
certTitle,
completionTime
} = cert;
const { user } = props;
@@ -352,6 +358,7 @@ const ShowCertification = (props: ShowCertificationProps): JSX.Element => {
})
}}
</h4>
<h5 style={{ marginTop: '15px' }}>{{ completionTime }}</h5>
</Trans>
</div>
</main>