changed let to const

This commit is contained in:
FlorianZahn
2021-10-06 23:16:53 +02:00
parent edd1011737
commit 44f9ab9806

View File

@@ -487,7 +487,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);