aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/react-docs/src/components/documentation.tsx4
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 ${