aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-01 23:29:29 +0800
committerFabio Berger <me@fabioberger.com>2018-10-01 23:29:29 +0800
commit0febb085c5dbac3d125aab917ee2ba454869ff58 (patch)
tree1b987060a170bd206b7473144e2641aa18937e9f /packages/website/ts
parent011cadc1ff2f7989fc866c149171ed2c592ace3c (diff)
downloaddexon-sol-tools-0febb085c5dbac3d125aab917ee2ba454869ff58.tar.gz
dexon-sol-tools-0febb085c5dbac3d125aab917ee2ba454869ff58.tar.zst
dexon-sol-tools-0febb085c5dbac3d125aab917ee2ba454869ff58.zip
Fix linter
Diffstat (limited to 'packages/website/ts')
-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