fix: open project links in new tab

This commit is contained in:
Mrugesh Mohapatra
2018-06-19 12:17:38 +05:30
committed by Stuart Taylor
parent c9155092b0
commit d9e2376d4a

View File

@ -90,7 +90,11 @@ class JSAlgoAndDSForm extends PureComponent {
{ this.state[challenge] ? 'Hide' : 'Show' } Solution
</Button>
</div> :
<Link to={`${jsProjectPath}${kebabCase(challenge)}`}>
<Link
rel='noopener noreferrer'
target='_blank'
to={`${jsProjectPath}${kebabCase(challenge)}`}
>
<Button
bsSize='lg'
bsStyle='primary'