mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 14:37:23 +03:00
refactor(lint): fix trivial linting errors
This commit is contained in:
@@ -63,7 +63,7 @@ class SkipNotice {
|
||||
);
|
||||
}
|
||||
|
||||
close() {
|
||||
close(): void {
|
||||
ReactDOM.unmountComponentAtNode(this.noticeElement);
|
||||
|
||||
this.noticeElement.remove();
|
||||
|
||||
@@ -51,11 +51,11 @@ class SubmissionNotice {
|
||||
);
|
||||
}
|
||||
|
||||
update() {
|
||||
update(): void {
|
||||
this.noticeRef.current.forceUpdate();
|
||||
}
|
||||
|
||||
close() {
|
||||
close(): void {
|
||||
ReactDOM.unmountComponentAtNode(this.noticeElement);
|
||||
|
||||
this.noticeElement.remove();
|
||||
|
||||
Reference in New Issue
Block a user