mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Fixed logic mistake if undovotes are ever implemented
This commit is contained in:
parent
77ce9433a7
commit
af66a77026
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue