Update SkipNoticeComponent.tsx

This commit is contained in:
FlorianZahn
2021-10-06 08:29:45 +02:00
committed by GitHub
parent 93f02877a7
commit 84924b6364

View File

@@ -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);