From b7c119b2aaaa2f3579ca4aeef198eca7f38f1216 Mon Sep 17 00:00:00 2001
From: Fabio Berger <me@fabioberger.com>
Date: Wed, 22 Aug 2018 18:52:17 +0100
Subject: Fix many linter errors that showed up upon upgrading tsutil

---
 packages/website/ts/components/top_bar/top_bar.tsx | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

(limited to 'packages/website/ts/components/top_bar/top_bar.tsx')

diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx
index 41b01c57b..e27a1fae2 100644
--- a/packages/website/ts/components/top_bar/top_bar.tsx
+++ b/packages/website/ts/components/top_bar/top_bar.tsx
@@ -1,10 +1,10 @@
 import { DocsInfo, DocsMenu } from '@0xproject/react-docs';
 import {
     colors,
+    constants as sharedConstants,
     MenuSubsectionsBySection,
     NestedSidebarMenu,
     Styles,
-    constants as sharedConstants,
 } from '@0xproject/react-shared';
 import * as _ from 'lodash';
 import Drawer from 'material-ui/Drawer';
@@ -378,13 +378,16 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
                     </Link>
                     {_.map(DOC_WEBSITE_PATHS_TO_KEY, (key, websitePath) => {
                         if (!this._doesUrlInclude(websitePath)) {
-                            <Link to={websitePath} className="text-decoration-none">
-                                <MenuItem className="py2">
-                                    {this.props.translate.get(key, Deco.Cap)}{' '}
-                                    {this.props.translate.get(Key.Docs, Deco.Cap)}
-                                </MenuItem>
-                            </Link>;
+                            return (
+                                <Link to={websitePath} className="text-decoration-none">
+                                    <MenuItem className="py2">
+                                        {this.props.translate.get(key, Deco.Cap)}{' '}
+                                        {this.props.translate.get(Key.Docs, Deco.Cap)}
+                                    </MenuItem>
+                                </Link>
+                            );
                         }
+                        return null;
                     })}
                     {!this._isViewingPortal() && (
                         <Link to={`${WebsitePaths.Portal}`} className="text-decoration-none">
-- 
cgit v1.2.3

