kaho-y 4 years ago
parent
commit
0bf6fb178c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/app/src/components/Sidebar/RecentChanges.jsx

+ 3 - 3
packages/app/src/components/Sidebar/RecentChanges.jsx

@@ -21,9 +21,6 @@ import FormattedDistanceDate from '../FormattedDistanceDate';
 const logger = loggerFactory('growi:History');
 
 function LargePageItem({ page }) {
-  propTypes: {
-    page: PropTypes.any
-  };
   const dPagePath = new DevidedPagePath(page.path, false, true);
   const linkedPagePathFormer = new LinkedPagePath(dPagePath.former);
   const linkedPagePathLatter = new LinkedPagePath(dPagePath.latter);
@@ -76,6 +73,9 @@ function LargePageItem({ page }) {
     </li>
   );
 }
+LargePageItem.propTypes = {
+  page: PropTypes.any
+}
 
 function SmallPageItem({ page }) {
   const dPagePath = new DevidedPagePath(page.path, false, true);