chore: only show sidebar once docs have loaded
This commit is contained in:
parent
d85daab967
commit
9b1f765ced
@ -91,7 +91,9 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
|
|||||||
sourceUrl={sourceUrl}
|
sourceUrl={sourceUrl}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
const sidebar = (
|
const sidebar = _.isUndefined(this.state.docAgnosticFormat) ? (
|
||||||
|
<div />
|
||||||
|
) : (
|
||||||
<NestedSidebarMenu sidebarHeader={this._renderSidebarHeader()} sectionNameToLinks={sectionNameToLinks} />
|
<NestedSidebarMenu sidebarHeader={this._renderSidebarHeader()} sectionNameToLinks={sectionNameToLinks} />
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user