Only show skip keybind hint on one notice

This commit is contained in:
Ajay Ramachandran
2021-05-11 00:18:40 -04:00
parent ef7e5d1312
commit 2aaee2c1c4
3 changed files with 15 additions and 3 deletions

View File

@@ -67,6 +67,12 @@ class SkipNotice {
);
}
setShowKeybindHint(value: boolean): void {
this.skipNoticeRef.current.setState({
showKeybindHint: value
});
}
close(): void {
ReactDOM.unmountComponentAtNode(this.noticeElement);