Search Value

This commit is contained in:
Belen Curcio
2017-10-24 11:47:18 -03:00
parent 61108337cc
commit f3bf9d28a7
@@ -96,7 +96,7 @@ class Stories extends Component {
}
render () {
const {search, sort, filter} = this.state;
const {searchValue, sort, filter} = this.state;
const {assets} = this.props;
const assetsIds = sortBy(assets.ids.map((id) => assets.byId[id]), 'publication_date');
@@ -112,7 +112,7 @@ class Stories extends Component {
<Icon name='search' className={styles.searchIcon}/>
<input
type='text'
value={search}
value={searchValue}
className={styles.searchBoxInput}
onChange={this.onSearchChange}
placeholder={t('streams.search')}/>