From 8db098eaec27a445e40b804823e266d1949e5e5a Mon Sep 17 00:00:00 2001
From: Fabio Berger <me@fabioberger.com>
Date: Fri, 16 Feb 2018 00:09:10 -0700
Subject: Remove section links until they go somewhere

---
 packages/website/ts/pages/shared/nested_sidebar_menu.tsx | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

(limited to 'packages/website/ts/pages/shared/nested_sidebar_menu.tsx')

diff --git a/packages/website/ts/pages/shared/nested_sidebar_menu.tsx b/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
index 1b63f5203..9285f0215 100644
--- a/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
+++ b/packages/website/ts/pages/shared/nested_sidebar_menu.tsx
@@ -55,16 +55,9 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
                 const id = utils.getIdFromName(sectionName);
                 return (
                     <div key={`section-${sectionName}`} className="py1" style={{ color: colors.grey800 }}>
-                        <ScrollLink
-                            to={id}
-                            offset={-20}
-                            duration={constants.DOCS_SCROLL_DURATION_MS}
-                            containerId={constants.DOCS_CONTAINER_ID}
-                        >
-                            <div style={{ cursor: 'pointer', fontWeight: 'bold', fontSize: 15 }} className="py1">
-                                {finalSectionName.toUpperCase()}
-                            </div>
-                        </ScrollLink>
+                        <div style={{ fontWeight: 'bold', fontSize: 15 }} className="py1">
+                            {finalSectionName.toUpperCase()}
+                        </div>
                         {this._renderMenuItems(menuItems)}
                     </div>
                 );
-- 
cgit v1.2.3

