Răsfoiți Sursa

add comment

yohei0125 3 ani în urmă
părinte
comite
f28735cea1
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      packages/app/src/components/NotFoundPage.tsx

+ 1 - 1
packages/app/src/components/NotFoundPage.tsx

@@ -27,7 +27,7 @@ const NotFoundPage = (): JSX.Element => {
 
   // replace url in address bar with path when accessing empty page by permalink
   useEffect(() => {
-    const isEmptyPage = pageId != null;
+    const isEmptyPage = pageId != null; // Todo: should be improved. https://redmine.weseek.co.jp/issues/98152
     const isPathExist = path != null;
     const isPathLink = notFoundTargetPathOrId?.includes('/');