Skip to content

Commit 8e084d1

Browse files
TCA-499 clean up
1 parent 58c027d commit 8e084d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src-ts/tools/learn/welcome/progress-block/progress-action/ProgressAction.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { orderBy, set } from 'lodash'
1+
import { orderBy } from 'lodash'
22
import { FC, ReactNode, useMemo } from 'react'
33

44
import { Button } from '../../../../../lib'
@@ -43,7 +43,7 @@ const ProgressAction: FC<ProgressActionProps> = (props: ProgressActionProps) =>
4343
const certificationsById: { [key: string]: LearnCertification } = useMemo(() => (
4444
props.allCertifications
4545
.reduce((certifs, certificate) => {
46-
set(certifs, [certificate.id], certificate)
46+
certifs[certificate.id] = certificate
4747
return certifs
4848
}, {} as unknown as { [key: string]: LearnCertification })
4949
), [props.allCertifications])

0 commit comments

Comments
 (0)