mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-25 10:47:00 +08:00
fix(client): add hours back to certifications (#51215)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user