mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 09:39:58 +00:00
Require explicit public modifier
This commit is contained in:
@@ -138,7 +138,7 @@ export default class Bridge extends Component<BridgeProps, BridgeState> {
|
||||
this.onPackageTypeChange = this.onPackageTypeChange.bind(this);
|
||||
}
|
||||
|
||||
render () {
|
||||
public render () {
|
||||
return (
|
||||
<div className="bridge">
|
||||
{ this.props.loading
|
||||
|
||||
@@ -46,7 +46,7 @@ export default class EditableList extends Component<
|
||||
this.handleNewItemEdit = this.handleNewItemEdit.bind(this);
|
||||
}
|
||||
|
||||
render () {
|
||||
public render () {
|
||||
const items = Array.from(this.state.items.values());
|
||||
|
||||
return (
|
||||
|
||||
@@ -40,7 +40,7 @@ export default class EditableListItem extends Component<
|
||||
this.handleInputKeyPress = this.handleInputKeyPress.bind(this);
|
||||
}
|
||||
|
||||
render () {
|
||||
public render () {
|
||||
const selected = this.state.editing
|
||||
? "editable-list__item--selected" : "";
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ class OptionsApp extends Component<{}, OptionsAppState> {
|
||||
= this.getWhitelistItemPatternError.bind(this);
|
||||
}
|
||||
|
||||
async componentDidMount () {
|
||||
public async componentDidMount () {
|
||||
const { options } = await browser.storage.sync.get("options");
|
||||
|
||||
this.setState({
|
||||
@@ -95,7 +95,7 @@ class OptionsApp extends Component<{}, OptionsAppState> {
|
||||
});
|
||||
}
|
||||
|
||||
render () {
|
||||
public render () {
|
||||
if (!this.state.hasLoaded) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user