diff --git a/client/src/components/profile/Profile.js b/client/src/components/profile/Profile.js index f8cd5035cb..1149ac4ecd 100644 --- a/client/src/components/profile/Profile.js +++ b/client/src/components/profile/Profile.js @@ -155,17 +155,17 @@ function Profile({ user, isSessionUser }) { website={website} yearsTopContributor={yearsTopContributor} /> + {showHeatMap ? : null} + {showCerts ? : null} + {showPortfolio ? : null} + {showTimeLine ? ( + + ) : null} - {showHeatMap ? : null} - {showCerts ? : null} - {showPortfolio ? : null} - {showTimeLine ? ( - - ) : null} ); } diff --git a/client/src/components/profile/components/Certifications.js b/client/src/components/profile/components/Certifications.js index 8f52c43105..5181ef50d7 100644 --- a/client/src/components/profile/components/Certifications.js +++ b/client/src/components/profile/components/Certifications.js @@ -114,8 +114,8 @@ const propTypes = { function renderCertShow(username, cert) { return cert.show ? ( - - + + freeCodeCamp Certifications {hasModernCert ? ( - currentCerts.map(renderCertShowWithUsername).filter(Boolean) + currentCerts.map(renderCertShowWithUsername) ) : ( No certifications have been earned under the current curriculum @@ -158,7 +158,7 @@ function Certificates({ Legacy Certifications - {legacyCerts.map(renderCertShowWithUsername).filter(Boolean)} + {legacyCerts.map(renderCertShowWithUsername)} ) : null} @@ -168,6 +168,6 @@ function Certificates({ } Certificates.propTypes = propTypes; -Certificates.displayName = 'Certificates'; +Certificates.displayName = 'Certifications'; export default connect(mapStateToProps)(Certificates); diff --git a/client/src/components/profile/components/HeatMap.js b/client/src/components/profile/components/HeatMap.js index 6c5d44d53e..574f216071 100644 --- a/client/src/components/profile/components/HeatMap.js +++ b/client/src/components/profile/components/HeatMap.js @@ -60,7 +60,6 @@ function HeatMap({ calendar, streak }) { if (!value) { return 'colour-empty'; } - console.log(value); if (value.count > 4) { return 'colour-scale-a-lot'; }
No certifications have been earned under the current curriculum @@ -158,7 +158,7 @@ function Certificates({