Yuki Takei 3 lat temu
rodzic
commit
4e85dbc51c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/app/src/components/Page/PageView.tsx

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

@@ -70,7 +70,7 @@ export const PageView = (props: Props): JSX.Element => {
   const { data: viewOptions, mutate: mutateRendererOptions } = useViewOptions();
 
   const page = pageBySWR ?? initialPage;
-  const isNotFound = isNotFoundMeta || page == null;
+  const isNotFound = isNotFoundMeta || page?.revision == null;
   const isUsersHomePagePath = isUsersHomePage(pagePath);
 
   // register to facade