Parcourir la source

remove default value of defaultValue

afc163 il y a 8 ans
Parent
commit
60c34b61ed
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  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 || [],