diff options
author | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-09-26 02:35:18 +0800 |
---|---|---|
committer | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-09-26 03:51:03 +0800 |
commit | e8c8d3e722676a250428795f70143ed3e5289cbc (patch) | |
tree | fde076dca9f3f840299cdffacab64189e07a7701 /packages/website/ts/pages/documentation/doc_page.tsx | |
parent | 574270d061f664176df012c5ef0b649e6d581e6d (diff) | |
download | dexon-0x-contracts-e8c8d3e722676a250428795f70143ed3e5289cbc.tar.gz dexon-0x-contracts-e8c8d3e722676a250428795f70143ed3e5289cbc.tar.zst dexon-0x-contracts-e8c8d3e722676a250428795f70143ed3e5289cbc.zip |
fix: rename SupportedDocJson field to SolDoc
from Solidity
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r219976199
https://github.com/0xProject/0x-monorepo/pull/1004
Diffstat (limited to 'packages/website/ts/pages/documentation/doc_page.tsx')
-rw-r--r-- | packages/website/ts/pages/documentation/doc_page.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/pages/documentation/doc_page.tsx b/packages/website/ts/pages/documentation/doc_page.tsx index 7bf3addc0..a06d29035 100644 --- a/packages/website/ts/pages/documentation/doc_page.tsx +++ b/packages/website/ts/pages/documentation/doc_page.tsx @@ -141,7 +141,7 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> { versionDocObj as GeneratedDocJson, this.props.docsInfo, ).convertToDocAgnosticFormat(); - } else if (this.props.docsInfo.type === SupportedDocJson.Solidity) { + } else if (this.props.docsInfo.type === SupportedDocJson.SolDoc) { // documenting solidity. docAgnosticFormat = versionDocObj as DocAgnosticFormat; // need to modify docsInfo like convertToDocAgnosticFormat() would do |