This commit is contained in:
mgabdev
2020-05-08 22:17:19 -04:00
parent a390662e4f
commit b620cb1372
38 changed files with 734 additions and 277 deletions

View File

@@ -1,5 +1,6 @@
import { withRouter } from 'react-router-dom'
import queryString from 'query-string'
import { me } from '../initial_state'
import { CX } from '../constants'
import {
changeSearch,
@@ -128,7 +129,7 @@ class Search extends PureComponent {
})
const prependIconColor = highlighted ? 'brand' : 'white'
const placeholder = !me ? 'Search Gab' : 'Search for people, groups or news'
const id = 'nav-search'
return (
@@ -140,7 +141,7 @@ class Search extends PureComponent {
id={id}
className={inputClasses}
type='text'
placeholder='Search for people, groups or news'
placeholder={placeholder}
ref={this.setTextbox}
value={value}
onKeyUp={this.handleKeyUp}