From fde803fc1476af65c723a62a1ffef1a61c92689c Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Tue, 7 Feb 2017 22:02:27 +0200 Subject: [PATCH] Forgot to run prettier earlier... --- src/containers/SearchPage/SearchPage.js | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/containers/SearchPage/SearchPage.js b/src/containers/SearchPage/SearchPage.js index 1b48c7fd..d04268b5 100644 --- a/src/containers/SearchPage/SearchPage.js +++ b/src/containers/SearchPage/SearchPage.js @@ -27,19 +27,11 @@ export class SearchPageComponent extends Component { const { tab, SearchPage } = this.props; const { listings } = SearchPage; const fakeListings = listings || []; - const selectedTab = includes(['filters','listings', 'map'], tab) - ? tab - : 'listings'; + const selectedTab = includes(['filters', 'listings', 'map'], tab) ? tab : 'listings'; - const filtersClassName = classNames(css.filters, { - [css.open]: selectedTab === 'filters', - }); - const listingsClassName = classNames(css.listings, { - [css.open]: selectedTab === 'listings', - }); - const mapClassName = classNames(css.map, { - [css.open]: selectedTab === 'map', - }); + const filtersClassName = classNames(css.filters, { [css.open]: selectedTab === 'filters' }); + const listingsClassName = classNames(css.listings, { [css.open]: selectedTab === 'listings' }); + const mapClassName = classNames(css.map, { [css.open]: selectedTab === 'map' }); return (