فهرست منبع

fix return value

Shun Miyazawa 1 سال پیش
والد
کامیت
a148e69365
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      apps/app/src/client/components/PageSelectModal/PageSelectModal.tsx

+ 1 - 1
apps/app/src/client/components/PageSelectModal/PageSelectModal.tsx

@@ -44,7 +44,7 @@ export const PageSelectModal: FC = () => {
     const parentPagePath = page.path;
 
     if (parentPagePath == null) {
-      return <></>;
+      return;
     }
 
     setClickedParentPage(page);