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.
1 parent 58c027d commit 8e084d1Copy full SHA for 8e084d1
src-ts/tools/learn/welcome/progress-block/progress-action/ProgressAction.tsx
@@ -1,4 +1,4 @@
1
-import { orderBy, set } from 'lodash'
+import { orderBy } from 'lodash'
2
import { FC, ReactNode, useMemo } from 'react'
3
4
import { Button } from '../../../../../lib'
@@ -43,7 +43,7 @@ const ProgressAction: FC<ProgressActionProps> = (props: ProgressActionProps) =>
43
const certificationsById: { [key: string]: LearnCertification } = useMemo(() => (
44
props.allCertifications
45
.reduce((certifs, certificate) => {
46
- set(certifs, [certificate.id], certificate)
+ certifs[certificate.id] = certificate
47
return certifs
48
}, {} as unknown as { [key: string]: LearnCertification })
49
), [props.allCertifications])
0 commit comments