ryoji-s před 3 roky
rodič
revize
2826db9dcf

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

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