diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-17 00:42:58 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-17 00:42:58 +0800 |
commit | 2305109170671b06c6d60ac04a16a9d57a8a9c11 (patch) | |
tree | 58143ace176760b5312588c521b724b08d5a38e5 /packages | |
parent | 9bae3e51d96ee3fc2c9652a373df155421228609 (diff) | |
download | dexon-sol-tools-2305109170671b06c6d60ac04a16a9d57a8a9c11.tar.gz dexon-sol-tools-2305109170671b06c6d60ac04a16a9d57a8a9c11.tar.zst dexon-sol-tools-2305109170671b06c6d60ac04a16a9d57a8a9c11.zip |
chore: fix linter
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/pages/wiki/wiki.tsx | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index eb1854f50..8b573335f 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -1,5 +1,5 @@ import { DocsInfo } from '@0xproject/react-docs'; -import { ALink, colors, constants as sharedConstants, Link, NestedSidebarMenu, Styles } from '@0xproject/react-shared'; +import { ALink, colors, Link, Styles } from '@0xproject/react-shared'; import { ObjectMap } from '@0xproject/types'; import * as _ from 'lodash'; import Drawer from 'material-ui/Drawer'; diff --git a/packages/website/ts/pages/wiki/wiki.tsx b/packages/website/ts/pages/wiki/wiki.tsx index 01cbc4e4d..4b101e45d 100644 --- a/packages/website/ts/pages/wiki/wiki.tsx +++ b/packages/website/ts/pages/wiki/wiki.tsx @@ -187,16 +187,6 @@ export class Wiki extends React.Component<WikiProps, WikiState> { } return sectionNameToLinks; } - private _onSidebarHover(_event: React.FormEvent<HTMLInputElement>): void { - this.setState({ - isHoveringSidebar: true, - }); - } - private _onSidebarHoverOff(): void { - this.setState({ - isHoveringSidebar: false, - }); - } private _onHashChanged(_event: any): void { const hash = window.location.hash.slice(1); sharedUtils.scrollToHash(hash, sharedConstants.SCROLL_CONTAINER_ID); |