fix: make full stack claimable

This commit is contained in:
Ahmad Abdolsaheb
2019-04-22 15:45:34 +03:00
committed by Mrugesh Mohapatra
parent 57a0930e88
commit 38b8132d1a

View File

@ -460,7 +460,7 @@ export class CertificationSettings extends Component {
isJsAlgoDataStructCert && isJsAlgoDataStructCert &&
isRespWebDesignCert; isRespWebDesignCert;
const superBlock = 'full-stack-certificate'; const superBlock = 'full-stack';
const certLocation = `/certification/${username}/${superBlock}`; const certLocation = `/certification/${username}/${superBlock}`;
const buttonStyle = { const buttonStyle = {
@ -506,7 +506,7 @@ export class CertificationSettings extends Component {
className={'col-xs-12'} className={'col-xs-12'}
href={certLocation} href={certLocation}
id={'button-' + superBlock} id={'button-' + superBlock}
onClick={createClickHandler(certLocation)} onClick={createClickHandler(superBlock)}
style={buttonStyle} style={buttonStyle}
target='_blank' target='_blank'
> >