fix: call out a HACK in comments
https://github.com/0xProject/0x-monorepo/pull/1004#discussion_r220010054 https://github.com/0xProject/0x-monorepo/pull/1004
This commit is contained in:
@@ -144,7 +144,7 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
|
||||
} else if (this.props.docsInfo.type === SupportedDocJson.SolDoc) {
|
||||
// documenting solidity.
|
||||
docAgnosticFormat = versionDocObj as DocAgnosticFormat;
|
||||
// need to modify docsInfo like convertToDocAgnosticFormat() would do
|
||||
// HACK: need to modify docsInfo like convertToDocAgnosticFormat() would do
|
||||
this.props.docsInfo.menu.Contracts = [];
|
||||
_.each(docAgnosticFormat, (docObj, contractName) => {
|
||||
this.props.docsInfo.sections[contractName] = contractName;
|
||||
|
Reference in New Issue
Block a user