mirror of
https://github.com/wassname/talk.git
synced 2026-07-25 13:30:59 +08:00
name changes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user