mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 11:21:41 +03:00
fix upvotecontainer bug
This commit is contained in:
parent
e1cfb84992
commit
b914f16c66
@ -32,6 +32,7 @@ const UpvoteContainer = (props) => {
|
||||
pinCode,
|
||||
upvotePercent,
|
||||
globalProps,
|
||||
dispatch,
|
||||
activeVotes = [],
|
||||
} = props;
|
||||
|
||||
@ -51,8 +52,6 @@ const UpvoteContainer = (props) => {
|
||||
};
|
||||
|
||||
const _setUpvotePercent = (value) => {
|
||||
const { dispatch } = this.props;
|
||||
|
||||
if (value) {
|
||||
setUpvotePercent(String(value));
|
||||
dispatch(upvoteAction(value));
|
||||
|
Loading…
Reference in New Issue
Block a user