Selaa lähdekoodia

rm futile code

yohei0125 3 vuotta sitten
vanhempi
sitoutus
edb41f3c82
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;