Require explicit public modifier

This commit is contained in:
hensm
2019-03-07 02:14:44 +00:00
parent 04a5284fdc
commit 0fef3fd98c
7 changed files with 29 additions and 29 deletions

View File

@@ -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;
}