Commit 59cf1112 authored by Andrew Hrdy's avatar Andrew Hrdy
Browse files

Fixed misplaced parenthesis in SearchBar.

parent 38501c5f
Pipeline #1998 passed with stages
in 2 minutes and 2 seconds
...@@ -85,15 +85,15 @@ class SearchBar extends React.Component { ...@@ -85,15 +85,15 @@ class SearchBar extends React.Component {
<Paper className={classNames('search-bar-paper-background', this.state.isFocused && 'search-bar-focus', <Paper className={classNames('search-bar-paper-background', this.state.isFocused && 'search-bar-focus',
this.state.value && 'search-bar-has-value', this.state.isMobileOpen && 'search-bar-mobile-open')}> this.state.value && 'search-bar-has-value', this.state.isMobileOpen && 'search-bar-mobile-open')}>
<IconButton onClick={this.handleMobileExpand} disableRipple className={'search-bar-search-btn'}> <IconButton onClick={this.handleMobileExpand} disableRipple className={'search-bar-search-btn'}>
<SearchIcon className={'search-bar-search-icon'} /> <SearchIcon className={'search-bar-search-icon'}/>
</IconButton> </IconButton>
<IconButton onClick={this.handleMobileCollapse} disableRipple className={'search-bar-back-btn'}> <IconButton onClick={this.handleMobileCollapse} disableRipple className={'search-bar-back-btn'}>
<ArrowBackIcon className={'search-bar-back-icon'} /> <ArrowBackIcon className={'search-bar-back-icon'}/>
</IconButton> </IconButton>
(<Input <Input
placeholder="Name, Location, etc." placeholder="Name, Location, etc."
disableUnderline disableUnderline
className={classNames('search-bar-input',{'hide-search-input':!this.state.isMobileOpen})} className={classNames('search-bar-input', {'hide-search-input': !this.state.isMobileOpen})}
onChange={this.handleChange} onChange={this.handleChange}
onFocus={this.handleFocus} onFocus={this.handleFocus}
onBlur={this.handleBlur} onBlur={this.handleBlur}
...@@ -102,9 +102,9 @@ class SearchBar extends React.Component { ...@@ -102,9 +102,9 @@ class SearchBar extends React.Component {
}} }}
inputRef={(el) => this.inputElement = el} inputRef={(el) => this.inputElement = el}
value={this.state.value} value={this.state.value}
/>) />
<IconButton onClick={this.clear} disableRipple className={'search-bar-close-btn'}> <IconButton onClick={this.clear} disableRipple className={'search-bar-close-btn'}>
<CloseIcon /> <CloseIcon/>
</IconButton> </IconButton>
<FormControl className={'search-bar-campus-control'}> <FormControl className={'search-bar-campus-control'}>
<Select <Select
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment