Browse Source

remove default value of defaultValue

afc163 8 năm trước cách đây
mục cha
commit
60c34b61ed
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      src/components/TagSelect/index.js

+ 0 - 4
src/components/TagSelect/index.js

@@ -19,10 +19,6 @@ const TagSelectOption = ({ children, checked, onChange, value }) => (
 TagSelectOption.isTagSelectOption = true;
 
 class TagSelect extends Component {
-  static defaultProps = {
-    defaultValue: [],
-  };
-
   state = {
     expand: false,
     checkedTags: this.props.defaultValue || [],