Skip to content

Commit ce63bbd

Browse files
fix sidebar server-sider rendering error
1 parent f3b3148 commit ce63bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/doc/lib/browser/navigation/containers.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class Navigation extends React.Component {
1212
super(props);
1313

1414
this.url_for = this.props.url_for;
15+
this.items = this.getItems();
1516

1617
this.state = {
1718
collapsed: false,
@@ -27,7 +28,6 @@ class Navigation extends React.Component {
2728

2829
this.$body = $('body');
2930
this.$content = $('.doc-content');
30-
this.items = this.getItems();
3131

3232
this.addAnchorToHeaders($headers);
3333
this.listenContentClick();

0 commit comments

Comments
 (0)