chore: fix linter

This commit is contained in:
Fabio Berger
2018-10-16 17:42:58 +01:00
parent 9bae3e51d9
commit 2305109170
2 changed files with 1 additions and 11 deletions

View File

@@ -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';

View File

@@ -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);