aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-02 05:26:06 +0800
committerFabio Berger <me@fabioberger.com>2018-10-02 05:26:06 +0800
commit3a9791e7943c5572d24b257217bfe1558beff5fc (patch)
tree3f306215a1346660d067696cd248ed6b4682b6fd /packages/website
parent0d57ed6c933a8332253cf673a521dddcae601872 (diff)
downloaddexon-sol-tools-3a9791e7943c5572d24b257217bfe1558beff5fc.tar
dexon-sol-tools-3a9791e7943c5572d24b257217bfe1558beff5fc.tar.gz
dexon-sol-tools-3a9791e7943c5572d24b257217bfe1558beff5fc.tar.bz2
dexon-sol-tools-3a9791e7943c5572d24b257217bfe1558beff5fc.tar.lz
dexon-sol-tools-3a9791e7943c5572d24b257217bfe1558beff5fc.tar.xz
dexon-sol-tools-3a9791e7943c5572d24b257217bfe1558beff5fc.tar.zst
dexon-sol-tools-3a9791e7943c5572d24b257217bfe1558beff5fc.zip
Make menuSubsectionsBySection optional
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/documentation/docs_content_top_bar.tsx1
-rw-r--r--packages/website/ts/pages/documentation/home.tsx1
2 files changed, 0 insertions, 2 deletions
diff --git a/packages/website/ts/components/documentation/docs_content_top_bar.tsx b/packages/website/ts/components/documentation/docs_content_top_bar.tsx
index 74c9022fe..b5f51e1aa 100644
--- a/packages/website/ts/components/documentation/docs_content_top_bar.tsx
+++ b/packages/website/ts/components/documentation/docs_content_top_bar.tsx
@@ -148,7 +148,6 @@ export class DocsContentTopBar extends React.Component<DocsContentTopBarProps, D
<div className="clearfix pl1">
<NestedSidebarMenu
topLevelMenu={this.props.menu}
- menuSubsectionsBySection={{}}
shouldDisplaySectionHeaders={true}
shouldReformatMenuItemNames={false}
onMenuItemClick={this._onMenuButtonClick.bind(this)}
diff --git a/packages/website/ts/pages/documentation/home.tsx b/packages/website/ts/pages/documentation/home.tsx
index ee118ab1e..9356c504b 100644
--- a/packages/website/ts/pages/documentation/home.tsx
+++ b/packages/website/ts/pages/documentation/home.tsx
@@ -360,7 +360,6 @@ export class Home extends React.Component<HomeProps, HomeState> {
>
<NestedSidebarMenu
topLevelMenu={topLevelMenu}
- menuSubsectionsBySection={{}}
shouldDisplaySectionHeaders={true}
shouldReformatMenuItemNames={false}
/>