소스 검색

remove undefind condition

ryoji-s 4 년 전
부모
커밋
f8ce718285
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx

+ 1 - 1
packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx

@@ -247,7 +247,7 @@ const GrowiContextualSubNavigation = (props) => {
 
     const className = `d-flex flex-column align-items-end justify-content-center ${isViewMode ? ' h-50' : ''}`;
 
-    if (path == null || path === undefined) {
+    if (path == null) {
       return <></>;
     }