소스 검색

clean code

Yuki Takei 4 년 전
부모
커밋
8e176f7038
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 3
      packages/app/src/components/Sidebar.tsx
  2. 1 1
      packages/app/test/cypress/integration/1-install/install.spec.ts

+ 1 - 3
packages/app/src/components/Sidebar.tsx

@@ -68,9 +68,7 @@ const SidebarContentsWrapper = () => {
           stickyElemSelector=".grw-sidebar"
           calcViewHeight={calcViewHeight}
         >
-          <div id="grw-sidebar-content-container" className="grw-sidebar-content-container">
-            <SidebarContents />
-          </div>
+          <SidebarContents />
         </StickyStretchableScroller>
       </div>
 

+ 1 - 1
packages/app/test/cypress/integration/1-install/install.spec.ts

@@ -53,7 +53,7 @@ context('Installing', () => {
     cy.getByTestid('btnSubmit').click();
 
     cy.screenshot(`${ssPrefix}-installed`, {
-      blackout: ['.grw-sidebar-content-container'],
+      blackout: ['#grw-sidebar-contents-wrapper'],
     });
   });