aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/containers
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-22 00:28:20 +0800
committerFabio Berger <me@fabioberger.com>2017-12-22 00:28:20 +0800
commitd725de72861c6a6218c7f4822a339175a2da7403 (patch)
tree0c5312137148fb90682dec381203ae25da08a59d /packages/website/ts/containers
parent3e91773cd94162fca1855638a76d7bd2f510558a (diff)
downloaddexon-sol-tools-d725de72861c6a6218c7f4822a339175a2da7403.tar
dexon-sol-tools-d725de72861c6a6218c7f4822a339175a2da7403.tar.gz
dexon-sol-tools-d725de72861c6a6218c7f4822a339175a2da7403.tar.bz2
dexon-sol-tools-d725de72861c6a6218c7f4822a339175a2da7403.tar.lz
dexon-sol-tools-d725de72861c6a6218c7f4822a339175a2da7403.tar.xz
dexon-sol-tools-d725de72861c6a6218c7f4822a339175a2da7403.tar.zst
dexon-sol-tools-d725de72861c6a6218c7f4822a339175a2da7403.zip
Create types sectionName constant
Diffstat (limited to 'packages/website/ts/containers')
-rw-r--r--packages/website/ts/containers/connect_documentation.tsx3
-rw-r--r--packages/website/ts/containers/zero_ex_js_documentation.tsx3
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/website/ts/containers/connect_documentation.tsx b/packages/website/ts/containers/connect_documentation.tsx
index 3b181a814..5e0a59e2d 100644
--- a/packages/website/ts/containers/connect_documentation.tsx
+++ b/packages/website/ts/containers/connect_documentation.tsx
@@ -10,6 +10,7 @@ import {
import {Dispatcher} from 'ts/redux/dispatcher';
import {State} from 'ts/redux/reducer';
import {DocsInfoConfig, WebsitePaths} from 'ts/types';
+import {constants} from 'ts/utils/constants';
import {typeDocUtils} from 'ts/utils/typedoc_utils';
/* tslint:disable:no-var-requires */
@@ -22,7 +23,7 @@ const connectDocSections = {
installation: 'installation',
httpClient: 'httpClient',
webSocketOrderbookChannel: 'webSocketOrderbookChannel',
- types: 'types',
+ types: constants.TYPES_SECTION_NAME,
};
const docsInfoConfig: DocsInfoConfig = {
diff --git a/packages/website/ts/containers/zero_ex_js_documentation.tsx b/packages/website/ts/containers/zero_ex_js_documentation.tsx
index 2f2c49167..8e40a3fbc 100644
--- a/packages/website/ts/containers/zero_ex_js_documentation.tsx
+++ b/packages/website/ts/containers/zero_ex_js_documentation.tsx
@@ -10,6 +10,7 @@ import {
import {Dispatcher} from 'ts/redux/dispatcher';
import {State} from 'ts/redux/reducer';
import {DocsInfoConfig, WebsitePaths} from 'ts/types';
+import {constants} from 'ts/utils/constants';
import {typeDocUtils} from 'ts/utils/typedoc_utils';
/* tslint:disable:no-var-requires */
@@ -34,7 +35,7 @@ const zeroExJsDocSections = {
etherToken: 'etherToken',
proxy: 'proxy',
orderWatcher: 'orderWatcher',
- types: 'types',
+ types: constants.TYPES_SECTION_NAME,
};
const docsInfoConfig: DocsInfoConfig = {