refactor(lint): fix trivial linting errors

This commit is contained in:
Max Baumann
2020-12-12 23:58:34 +01:00
parent 36558f5460
commit e2ef7412a4
16 changed files with 120 additions and 101 deletions

View File

@@ -63,7 +63,7 @@ class SkipNotice {
);
}
close() {
close(): void {
ReactDOM.unmountComponentAtNode(this.noticeElement);
this.noticeElement.remove();

View File

@@ -51,11 +51,11 @@ class SubmissionNotice {
);
}
update() {
update(): void {
this.noticeRef.current.forceUpdate();
}
close() {
close(): void {
ReactDOM.unmountComponentAtNode(this.noticeElement);
this.noticeElement.remove();