kaho-y 4 лет назад
Родитель
Сommit
a8f5647989
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      packages/app/src/components/Sidebar/RecentChanges.jsx

+ 5 - 2
packages/app/src/components/Sidebar/RecentChanges.jsx

@@ -74,8 +74,8 @@ function LargePageItem({ page }) {
   );
 }
 LargePageItem.propTypes = {
-  page: PropTypes.any
-}
+  page: PropTypes.any,
+};
 
 function SmallPageItem({ page }) {
   const dPagePath = new DevidedPagePath(page.path, false, true);
@@ -118,6 +118,9 @@ function SmallPageItem({ page }) {
     </li>
   );
 }
+SmallPageItem.propTypes = {
+  page: PropTypes.any,
+};
 class RecentChanges extends React.Component {
 
   static propTypes = {