ryoji-s 3 سال پیش
والد
کامیت
48c37a08c4
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/app/src/components/Navbar/GrowiContextualSubNavigation.tsx

+ 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' : ''}`;
 
-    if (typeof path !== 'string') {
-      return;
+    if (path == null) {
+      return <></>;
     }
 
     return (