Remove unused imports

This commit is contained in:
Fabio Berger
2018-08-06 11:01:12 -04:00
parent 50bbd793c6
commit ea5684e054

View File

@@ -1,9 +1,7 @@
import {
AnchorTitle,
colors,
constants as sharedConstants,
EtherscanLinkSuffixes,
HeaderSizes,
MarkdownSection,
NestedSidebarMenu,
Networks,
@@ -28,7 +26,6 @@ import {
TypescriptFunction,
TypescriptMethod,
} from '../types';
import { constants } from '../utils/constants';
import { Badge } from './badge';
import { Comment } from './comment';
@@ -186,6 +183,7 @@ export class Documentation extends React.Component<DocumentationProps, Documenta
const eligibleVersions = _.filter(markdownVersions, mdVersion => {
return semver.lte(mdVersion, this.props.selectedVersion);
});
console.log('this.props.selectedVersion', this.props.selectedVersion);
if (_.isEmpty(eligibleVersions)) {
throw new Error(
`No eligible markdown sections found for ${this.props.docsInfo.displayName} version ${