Feature(langauge): Make client history language aware

Remove need for language aware links
This commit is contained in:
Berkeley Martinez
2016-06-20 21:01:14 -07:00
parent 1da593df26
commit 95aab958aa
11 changed files with 98 additions and 53 deletions

View File

@@ -1,5 +1,5 @@
import React, { PropTypes } from 'react';
import LangLink from '../../../../utils/Language-Link.jsx';
import { Link } from 'react-router';
import { connect } from 'react-redux';
import FA from 'react-fontawesome';
import PureComponent from 'react-pure-render/component';
@@ -61,7 +61,7 @@ export class Block extends PureComponent {
className={ challengeClassName }
key={ title }
>
<LangLink to={ `/challenges/${blockName}/${dashedName}` }>
<Link to={ `/challenges/${blockName}/${dashedName}` }>
<span
onClick={ () => updateCurrentChallenge(challenge) }
>
@@ -73,7 +73,7 @@ export class Block extends PureComponent {
''
}
</span>
</LangLink>
</Link>
</p>
);
});