mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-09 21:17:20 +03:00
Fix votes appearing for unsubmitted segments
This commit is contained in:
@@ -37,6 +37,7 @@ export class ChapterVote {
|
||||
setVisibility(show: boolean): void {
|
||||
const newState = {
|
||||
show,
|
||||
...(!show ? { segment: null } : {})
|
||||
};
|
||||
|
||||
if (this.ref.current) {
|
||||
|
||||
Reference in New Issue
Block a user