name changes

This commit is contained in:
Wyatt Johnson
2018-05-24 12:58:55 -06:00
parent 0c1e4873f8
commit 0c35badd95
2 changed files with 3 additions and 3 deletions
@@ -10,7 +10,7 @@ const initialState = { menuVisible: false };
class KarmaTooltip extends React.Component {
static propTypes = {
settings: PropTypes.shape({
thresholds: PropTypes.shape({
reliable: PropTypes.number.isRequired,
unreliable: PropTypes.number.isRequired,
}).isRequired,
@@ -27,7 +27,7 @@ class KarmaTooltip extends React.Component {
};
render() {
const { settings: { unreliable } } = this.props;
const { thresholds: { unreliable } } = this.props;
const { menuVisible } = this.state;
return (
@@ -240,7 +240,7 @@ class UserDetail extends React.Component {
{user.reliable.commenterKarma}
</span>
</div>
<KarmaTooltip settings={karma.comment} />
<KarmaTooltip thresholds={karma.comment} />
</li>
</ul>
</div>