mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Update SkipNoticeComponent.tsx
This commit is contained in:
@@ -545,7 +545,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
|
|||||||
actionType: this.segments[index].actionType,
|
actionType: this.segments[index].actionType,
|
||||||
source: 2
|
source: 2
|
||||||
};
|
};
|
||||||
let segmentTimes = Config.config.segmentTimes.get(sponsorVideoID) || [];
|
const segmentTimes = Config.config.segmentTimes.get(sponsorVideoID) || [];
|
||||||
segmentTimes.push(sponsorTimesSubmitting);
|
segmentTimes.push(sponsorTimesSubmitting);
|
||||||
Config.config.segmentTimes.set(sponsorVideoID, segmentTimes);
|
Config.config.segmentTimes.set(sponsorVideoID, segmentTimes);
|
||||||
this.props.contentContainer().sponsorTimesSubmitting.push(sponsorTimesSubmitting);
|
this.props.contentContainer().sponsorTimesSubmitting.push(sponsorTimesSubmitting);
|
||||||
|
|||||||
Reference in New Issue
Block a user