aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/website/ts/components/documentation/docs_content_top_bar.tsx10
-rw-r--r--packages/website/ts/pages/documentation/home.tsx6
2 files changed, 3 insertions, 13 deletions
diff --git a/packages/website/ts/components/documentation/docs_content_top_bar.tsx b/packages/website/ts/components/documentation/docs_content_top_bar.tsx
index 9b86c7296..74c9022fe 100644
--- a/packages/website/ts/components/documentation/docs_content_top_bar.tsx
+++ b/packages/website/ts/components/documentation/docs_content_top_bar.tsx
@@ -1,11 +1,5 @@
-import { DocsInfo, DocsMenu } from '@0xproject/react-docs';
-import {
- colors,
- constants as sharedConstants,
- MenuSubsectionsBySection,
- NestedSidebarMenu,
- Styles,
-} from '@0xproject/react-shared';
+import { DocsMenu } from '@0xproject/react-docs';
+import { colors, NestedSidebarMenu } from '@0xproject/react-shared';
import * as _ from 'lodash';
import Drawer from 'material-ui/Drawer';
import * as React from 'react';
diff --git a/packages/website/ts/pages/documentation/home.tsx b/packages/website/ts/pages/documentation/home.tsx
index 568564873..b7fa8462b 100644
--- a/packages/website/ts/pages/documentation/home.tsx
+++ b/packages/website/ts/pages/documentation/home.tsx
@@ -1,6 +1,5 @@
import {
colors,
- constants,
constants as sharedConstants,
MarkdownLinkBlock,
NestedSidebarMenu,
@@ -330,9 +329,6 @@ export class Home extends React.Component<HomeProps, HomeState> {
pkg => pkg.name,
),
};
- _.each(TUTORIALS, tutorialInfo => {
- const id = sharedUtils.getIdFromName(this.props.translate.get(tutorialInfo.title as Key, Deco.Cap));
- });
return (
<Container
className="flex items-center overflow-hidden"
@@ -549,4 +545,4 @@ export class Home extends React.Component<HomeProps, HomeState> {
isHoveringMainContent: false,
});
}
-}
+} // tslint:disable:max-file-line-count