Skip to content

Commit

Permalink
#380 fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
prayerslayer committed Nov 24, 2015
1 parent 7919f9e commit 85fdfca
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions client/lib/yourturn/src/search/search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SearchResult extends React.Component {
return <li className='search-result'>
<header>{this.props.name}</header>
{body}
</li>
</li>;
}
return <li className='search-result'>
<header>
Expand Down Expand Up @@ -72,7 +72,7 @@ class Search extends React.Component {
render() {
let {term} = this.state,
results = this.stores.search.getSearchResults(term),
header = <div>
header = <div>
<h2>Search</h2>

<div className='form'>
Expand All @@ -99,9 +99,9 @@ class Search extends React.Component {

<h4>Applications</h4>

{results['kio'] && results['kio'].length ?
{results.kio && results.kio.length ?
<ol>
{results['kio'].map(
{results.kio.map(
app => <SearchResult name={app.name}
description={app.matched_description}
link={app._url} />)}
Expand All @@ -111,9 +111,9 @@ class Search extends React.Component {

<h4>APIs</h4>

{results['twintip'] && results['twintip'].length ?
{results.twintip && results.twintip.length ?
<ol>
{results['twintip'].map(
{results.twintip.map(
app => <SearchResult name={app.name}
description={app.matched_description}
link={app._url} />)}
Expand All @@ -123,9 +123,9 @@ class Search extends React.Component {

<h4>Docker images</h4>

{results['pierone'] && results['pierone'].length ?
{results.pierone && results.pierone.length ?
<ol>
{results['pierone'].map(
{results.pierone.map(
app => <SearchResult name={app.name}
description={app.matched_description}
link={app._url} />)}
Expand Down

0 comments on commit 85fdfca

Please sign in to comment.