소스 검색

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);