feat: fully working hot reload for weather and search

This commit is contained in:
David Ralph
2021-04-14 16:18:01 +01:00
parent 6137139586
commit ca2ce43f2f
6 changed files with 8 additions and 18 deletions

View File

@@ -38,7 +38,7 @@ export default class TimeSettings extends React.PureComponent {
return (
<>
<h2>{language.title}</h2>
<Switch name='weatherEnabled' text={this.language.enabled} category='weather'/>
<Switch name='weatherEnabled' text={this.language.enabled} category='widgets'/>
<ul>
<p>{language.location}</p>
<input type='text' value={this.state.location} onChange={(e) => this.setState({ location: e.target.value })}></input>