mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 21:35:04 +03:00
* fixed slider not updating
This commit is contained in:
parent
501f93b754
commit
7b567243fb
@ -165,17 +165,20 @@ class DelegateScreen extends Component {
|
||||
this.setState({
|
||||
delegatedHP: vestsToHp(vest_shares.amount, hivePerMVests).toFixed(3),
|
||||
hp: vestsToHp(vest_shares.amount, hivePerMVests).toFixed(3),
|
||||
amount: vest_shares.amount,
|
||||
});
|
||||
} else {
|
||||
this.setState({
|
||||
delegatedHP: 0,
|
||||
hp: 0,
|
||||
amount: 0,
|
||||
});
|
||||
}
|
||||
} else {
|
||||
this.setState({
|
||||
delegatedHP: 0,
|
||||
hp: 0,
|
||||
amount: 0,
|
||||
});
|
||||
}
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user