Fixed logic mistake if undovotes are ever implemented

This commit is contained in:
FlorianZahn 2021-10-14 02:11:15 +02:00 committed by GitHub
parent 77ce9433a7
commit af66a77026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -642,7 +642,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
break;
case 20:
this.setState({
voted: utils.replaceArrayElement(this.state.voted, SkipNoticeAction.CopyDownvote, index)
voted: utils.replaceArrayElement(this.state.voted, SkipNoticeAction.None, index)
});
break;
}