Explorar o código

remove undefind condition

ryoji-s %!s(int64=4) %!d(string=hai) anos
pai
achega
f8ce718285

+ 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 <></>;
     }