Yuki Takei 5 лет назад
Родитель
Сommit
e921b2b85d

+ 3 - 1
src/client/js/components/Sidebar.jsx

@@ -155,7 +155,9 @@ class Sidebar extends React.Component {
           stickyElemSelector=".grw-sidebar"
           calcViewHeightFunc={this.calcViewHeight}
         />
-        <SidebarContents />
+        <div id="grw-sidebar-content-container" className="grw-sidebar-content-container">
+          <SidebarContents />
+        </div>
       </>
     );
   };

+ 1 - 3
src/client/js/components/Sidebar/SidebarContents.jsx

@@ -23,9 +23,7 @@ const SidebarContents = (props) => {
   }
 
   return (
-    <div id="grw-sidebar-content-container" className="grw-sidebar-content-container">
-      <Contents />
-    </div>
+    <Contents />
   );
 
 };