Submission notice size now updates when the video size changes.

React listeners are properly cleaned up now.
This commit is contained in:
Ajay Ramachandran
2020-04-14 00:47:09 -04:00
parent 18c7be8161
commit 1b2bc6def4
3 changed files with 24 additions and 0 deletions

View File

@@ -52,6 +52,8 @@ class SkipNotice {
}
close() {
ReactDOM.unmountComponentAtNode(this.noticeElement);
this.noticeElement.remove();
}
}

View File

@@ -56,6 +56,8 @@ class SubmissionNotice {
}
close() {
ReactDOM.unmountComponentAtNode(this.noticeElement);
this.noticeElement.remove();
}
}