fix prettier

release
Nolan Lawson 2019-03-10 09:54:12 -07:00
parent b0fee348c0
commit ef71101cd6
1 changed files with 5 additions and 6 deletions

View File

@ -12,7 +12,7 @@ export default class Search extends React.PureComponent {
this.state = { this.state = {
icon: icons.search, icon: icons.search,
isSearching: false, isSearching: false,
id: ++id id: ++id,
} }
this.data = props.data this.data = props.data
@ -92,10 +92,9 @@ export default class Search extends React.PureComponent {
* Use a <label> in addition to the placeholder for accessibility, but place it off-screen * Use a <label> in addition to the placeholder for accessibility, but place it off-screen
* http://www.maxability.co.in/2016/01/placeholder-attribute-and-why-it-is-not-accessible/ * http://www.maxability.co.in/2016/01/placeholder-attribute-and-why-it-is-not-accessible/
*/} */}
<label <label className="emoji-mart-sr-only" htmlFor={inputId}>
className="emoji-mart-sr-only" {i18n.search}
htmlFor={inputId} </label>
>{i18n.search}</label>
<button <button
className="emoji-mart-search-icon" className="emoji-mart-search-icon"
onClick={this.clearIfNotSearching} onClick={this.clearIfNotSearching}