Shun Miyazawa 3 лет назад
Родитель
Сommit
f931a42dd0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/Page/PageView.tsx

+ 1 - 1
packages/app/src/components/Page/PageView.tsx

@@ -158,7 +158,7 @@ export const PageView = (props: Props): JSX.Element => {
       { specialContents }
       { specialContents == null && (
         <>
-          { isUsersHomePagePath && <UserInfo author={page?.creator} /> }
+          { (isUsersHomePagePath && page?.creator != null) && <UserInfo author={page.creator} /> }
           <div className={`mb-5 ${isMobile ? `page-mobile ${styles['page-mobile']}` : ''}`}>
             <Contents />
           </div>