mirror of
https://github.com/mue/mue.git
synced 2026-06-08 14:10:42 +02:00
refactor: language cleanup and css fix
Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
@@ -15,6 +15,7 @@ export default class Search extends React.PureComponent {
|
||||
query: '',
|
||||
microphone: null
|
||||
};
|
||||
this.language = window.language.widgets.search;
|
||||
}
|
||||
|
||||
startSpeechRecognition() {
|
||||
@@ -73,7 +74,7 @@ export default class Search extends React.PureComponent {
|
||||
<form action={this.state.url}>
|
||||
{this.state.microphone}
|
||||
<SearchIcon onClick={() => this.searchButton()} id='searchButton'/>
|
||||
<input type='text' placeholder={this.props.language} name={this.state.query} id='searchtext'/>
|
||||
<input type='text' placeholder={this.language} name={this.state.query} id='searchtext'/>
|
||||
</form>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user