Browse Source

rm futile code

yohei0125 3 years ago
parent
commit
edb41f3c82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/PageAlert/PageStaleAlert.tsx

+ 1 - 1
packages/app/src/components/PageAlert/PageStaleAlert.tsx

@@ -18,7 +18,7 @@ export const PageStaleAlert = ():JSX.Element => {
   }
 
   let alertClass;
-  switch (pageInfo.contentAge) {
+  switch (contentAge) {
     case 1:
       alertClass = "alert-info";
       break;