Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-web
Commits
59cf1112
Commit
59cf1112
authored
Jan 17, 2018
by
Andrew Hrdy
Browse files
Fixed misplaced parenthesis in SearchBar.
parent
38501c5f
Pipeline
#1998
passed with stages
in 2 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/containers/SearchBar.js
View file @
59cf1112
...
...
@@ -85,15 +85,15 @@ class SearchBar extends React.Component {
<
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
'
)}
>
<
IconButton
onClick
=
{
this
.
handleMobileExpand
}
disableRipple
className
=
{
'
search-bar-search-btn
'
}
>
<
SearchIcon
className
=
{
'
search-bar-search-icon
'
}
/
>
<
SearchIcon
className
=
{
'
search-bar-search-icon
'
}
/
>
<
/IconButton
>
<
IconButton
onClick
=
{
this
.
handleMobileCollapse
}
disableRipple
className
=
{
'
search-bar-back-btn
'
}
>
<
ArrowBackIcon
className
=
{
'
search-bar-back-icon
'
}
/
>
<
ArrowBackIcon
className
=
{
'
search-bar-back-icon
'
}
/
>
<
/IconButton
>
(
<
Input
<
Input
placeholder
=
"
Name, Location, etc.
"
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
}
onFocus
=
{
this
.
handleFocus
}
onBlur
=
{
this
.
handleBlur
}
...
...
@@ -102,9 +102,9 @@ class SearchBar extends React.Component {
}}
inputRef
=
{(
el
)
=>
this
.
inputElement
=
el
}
value
=
{
this
.
state
.
value
}
/>
)
/
>
<
IconButton
onClick
=
{
this
.
clear
}
disableRipple
className
=
{
'
search-bar-close-btn
'
}
>
<
CloseIcon
/>
<
CloseIcon
/>
<
/IconButton
>
<
FormControl
className
=
{
'
search-bar-campus-control
'
}
>
<
Select
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment