We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba6dc17 + a90128b commit 51f0762Copy full SHA for 51f0762
src-ts/tools/learn/welcome/progress-block/progress-action/ProgressAction.tsx
@@ -46,7 +46,7 @@ const ProgressAction: FC<ProgressActionProps> = (props: ProgressActionProps) =>
46
), [allCertifications])
47
48
// we only want to display the last course that was acted upon
49
- const mostRecentIsCompleted: boolean = myInProgressCertifications?.[0]?.updatedAt < myCompletedCertifications?.[0]?.updatedAt
+ const mostRecentIsCompleted: boolean = myCompletedCertifications?.[0]?.updatedAt > (myInProgressCertifications?.[0]?.updatedAt || 0)
50
51
function renderInProgress(): JSX.Element {
52
0 commit comments