F. Eugene Aumson
2018-09-25 15:49:43 -04:00
parent e45f0b0eaf
commit de9f5d350f

View File

@@ -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;