Browse Source

rm futile code

yohei0125 3 năm trước cách đây
mục cha
commit
edb41f3c82
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;