mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-09 09:09:58 +00:00
TSLint compliance
This commit is contained in:
@@ -390,7 +390,7 @@ class OptionsApp extends Component<{}, OptionsAppState> {
|
||||
{ _("optionsUserAgentWhitelistContent") }
|
||||
</div>
|
||||
<div className="option__control">
|
||||
{ this.state.options?.userAgentWhitelist &&
|
||||
{ this.state.options?.userAgentWhitelist &&
|
||||
<EditableList data={ this.state.options.userAgentWhitelist }
|
||||
onChange={ this.handleWhitelistChange }
|
||||
itemPattern={ REMOTE_MATCH_PATTERN_REGEX }
|
||||
|
||||
@@ -277,7 +277,7 @@ class ReceiverEntry extends Component<ReceiverEntryProps, ReceiverEntryState> {
|
||||
showAlternateAction: ev.type === "keydown"
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
window.addEventListener("keydown", handleActionKeyEvents);
|
||||
window.addEventListener("keyup", handleActionKeyEvents);
|
||||
|
||||
Reference in New Issue
Block a user