Sfoglia il codice sorgente

remove default value of defaultValue

afc163 8 anni fa
parent
commit
60c34b61ed
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  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;
 TagSelectOption.isTagSelectOption = true;
 
 
 class TagSelect extends Component {
 class TagSelect extends Component {
-  static defaultProps = {
-    defaultValue: [],
-  };
-
   state = {
   state = {
     expand: false,
     expand: false,
     checkedTags: this.props.defaultValue || [],
     checkedTags: this.props.defaultValue || [],