diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-06 23:01:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-06 23:01:12 +0800 |
commit | ea5684e0546f25fa213dfb1a780941e4056a2128 (patch) | |
tree | 440ad95d05e654e269dbb16dbbf01a8656ec56cf /packages/react-docs/src | |
parent | 50bbd793c6520247629f078806226839f5b89651 (diff) | |
download | dexon-sol-tools-ea5684e0546f25fa213dfb1a780941e4056a2128.tar.gz dexon-sol-tools-ea5684e0546f25fa213dfb1a780941e4056a2128.tar.zst dexon-sol-tools-ea5684e0546f25fa213dfb1a780941e4056a2128.zip |
Remove unused imports
Diffstat (limited to 'packages/react-docs/src')
-rw-r--r-- | packages/react-docs/src/components/documentation.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/react-docs/src/components/documentation.tsx b/packages/react-docs/src/components/documentation.tsx index 5393652d4..d9a7dcd59 100644 --- a/packages/react-docs/src/components/documentation.tsx +++ b/packages/react-docs/src/components/documentation.tsx @@ -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 ${ |