فهرست منبع

remove PropTypes

itizawa 5 سال پیش
والد
کامیت
e7ac86c750
1فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  1. 0 5
      src/client/js/components/Page/TagLabels.jsx

+ 0 - 5
src/client/js/components/Page/TagLabels.jsx

@@ -112,11 +112,6 @@ TagLabels.propTypes = {
   pageContainer: PropTypes.instanceOf(PageContainer).isRequired,
   editorContainer: PropTypes.instanceOf(EditorContainer).isRequired,
 
-  isEditorMode: PropTypes.bool,
-};
-
-TagLabels.defaultProps = {
-  isEditorMode: false,
 };
 
 export default withTranslation()(TagLabelsWrapper);