Rename docsVersion prop to selectedVersion and docsVersions to versions for clarity

This commit is contained in:
Fabio Berger
2018-03-06 16:46:07 +01:00
parent 60d95475eb
commit 9301173f7d
2 changed files with 10 additions and 10 deletions

View File

@@ -81,8 +81,8 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
translate={this.props.translate}
/>
<Documentation
docsVersion={this.props.docsVersion}
availableDocVersions={this.props.availableDocVersions}
selectedVersion={this.props.docsVersion}
availableVersions={this.props.availableDocVersions}
docsInfo={this.props.docsInfo}
docAgnosticFormat={this.state.docAgnosticFormat}
menuSubsectionsBySection={menuSubsectionsBySection}