client/src/components/SearchBar.js
Function render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const styles = SearchBar.styles;
const hintText = (this.props.displayMode === 'seeks')
? (<span className="hint-text">What do you want to sell?</span>)
: (<span className="hint-text">What do you want to buy?</span>);