aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/docs_info.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-14 05:00:52 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-14 05:00:52 +0800
commit8a64599ca5ad23df8f4aec0b48776c4ae5a78d83 (patch)
treeff371d3de683a4740a4fa40dbe6c4325a17c4952 /packages/react-docs/src/docs_info.ts
parentf03afe6f1b6a6bfa339507ee47b42c62550444a0 (diff)
parent5c21d3f6af2ffc513b2bbfe92abf99181a32ceca (diff)
downloaddexon-0x-contracts-8a64599ca5ad23df8f4aec0b48776c4ae5a78d83.tar.gz
dexon-0x-contracts-8a64599ca5ad23df8f4aec0b48776c4ae5a78d83.tar.zst
dexon-0x-contracts-8a64599ca5ad23df8f4aec0b48776c4ae5a78d83.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/different-install-wallet-copy-for-mobile
Diffstat (limited to 'packages/react-docs/src/docs_info.ts')
-rw-r--r--packages/react-docs/src/docs_info.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/react-docs/src/docs_info.ts b/packages/react-docs/src/docs_info.ts
index 54b59ef1f..76f7784ba 100644
--- a/packages/react-docs/src/docs_info.ts
+++ b/packages/react-docs/src/docs_info.ts
@@ -10,6 +10,7 @@ import {
SectionsMap,
SupportedDocJson,
} from './types';
+import { constants } from './utils/constants';
export class DocsInfo {
public id: string;
@@ -64,7 +65,7 @@ export class DocsInfo {
const docSections = _.keys(this.sections);
_.each(docSections, sectionName => {
const docSection = docAgnosticFormat[sectionName];
- if (_.isUndefined(docSection)) {
+ if (_.isUndefined(docSection) || sectionName === constants.EXTERNAL_EXPORTS_SECTION_NAME) {
return; // no-op
}