Explorar el Código

rm futile code

yohei0125 hace 3 años
padre
commit
edb41f3c82
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;