From e0355a2e395fc056fd1d5c5e1780784853546acd Mon Sep 17 00:00:00 2001
From: Fabio Berger <me@fabioberger.com>
Date: Fri, 5 Oct 2018 12:03:15 +0100
Subject: Rename scroll container

---
 .../react-shared/src/components/nested_sidebar_menu.tsx    | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

(limited to 'packages/react-shared/src/components/nested_sidebar_menu.tsx')

diff --git a/packages/react-shared/src/components/nested_sidebar_menu.tsx b/packages/react-shared/src/components/nested_sidebar_menu.tsx
index 709d0ace9..0bc516223 100644
--- a/packages/react-shared/src/components/nested_sidebar_menu.tsx
+++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx
@@ -94,12 +94,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
                 : link.title;
             return (
                 <div key={`menuItem-${finalMenuItemName}`}>
-                    <Link
-                        to={link.to}
-                        type={link.type}
-                        shouldOpenInNewTab={link.shouldOpenInNewTab}
-                        containerId={constants.DOCS_CONTAINER_ID}
-                    >
+                    <Link to={link.to} type={link.type} shouldOpenInNewTab={link.shouldOpenInNewTab}>
                         <MenuItem
                             style={menuItemStyles}
                             innerDivStyle={menuItemInnerDivStyles}
@@ -136,12 +131,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
                     const name = `${menuItemName}-${link.title}`;
                     return (
                         <li key={`menuSubsectionItem-${name}`}>
-                            <Link
-                                to={link.to}
-                                type={link.type}
-                                shouldOpenInNewTab={link.shouldOpenInNewTab}
-                                containerId={constants.DOCS_CONTAINER_ID}
-                            >
+                            <Link to={link.to} type={link.type} shouldOpenInNewTab={link.shouldOpenInNewTab}>
                                 <MenuItem
                                     style={{ minHeight: 35 }}
                                     innerDivStyle={{
-- 
cgit v1.2.3

