mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #964 from technoboy10/gh899-searchbarundefined
Fix GH-899: Re-searching should not search for 'undefined'
This commit is contained in:
commit
dc890d6db8
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ var Search = injectIntl(React.createClass({
|
|||
<Input type="text"
|
||||
aria-label={formatMessage({id: 'general.search'})}
|
||||
placeholder={formatMessage({id: 'general.search'})}
|
||||
defaultValue={decodeURI(this.props.searchTerm)}
|
||||
value={decodeURI(this.props.searchTerm)}
|
||||
name="q" />
|
||||
</Form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue