mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-28 03:46:18 +08:00
fix: cert project links going to english (#45923)
* fix: cert project links going to english
This commit is contained in:
@@ -306,12 +306,12 @@ export class Block extends Component<BlockProps> {
|
||||
|
||||
const GridProjectBlock = (
|
||||
<div className='block block-grid grid-project-block'>
|
||||
<a
|
||||
<Link
|
||||
className='block-header'
|
||||
onClick={() => {
|
||||
this.handleBlockClick();
|
||||
}}
|
||||
href={challengesWithCompleted[0].fields.slug}
|
||||
to={challengesWithCompleted[0].fields.slug}
|
||||
>
|
||||
<div className='tags-wrapper'>
|
||||
<span className='cert-tag'>{t('misc.certification-project')}</span>
|
||||
@@ -329,7 +329,7 @@ export class Block extends Component<BlockProps> {
|
||||
<h3 className='block-grid-title'>{blockTitle}</h3>
|
||||
</div>
|
||||
{this.renderBlockIntros(blockIntroArr)}
|
||||
</a>
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user