Added category update info on the notice

This commit is contained in:
Ajay Ramachandran
2020-06-07 11:16:24 -04:00
parent 89cc6ed184
commit 9f4fec2a43
6 changed files with 46 additions and 4 deletions

View File

@@ -12,6 +12,8 @@ class SkipNotice {
noticeElement: HTMLDivElement;
skipNoticeRef: React.MutableRefObject<SkipNoticeComponent>;
constructor(segments: SponsorTime[], autoSkip: boolean = false, contentContainer) {
this.segments = segments;
this.autoSkip = autoSkip;
@@ -51,6 +53,7 @@ class SkipNotice {
<SkipNoticeComponent segments={segments}
autoSkip={autoSkip}
contentContainer={contentContainer}
ref={this.skipNoticeRef}
closeListener={() => this.close()} />,
this.noticeElement
);