Просмотр исходного кода

remove default value of defaultValue

afc163 8 лет назад
Родитель
Сommit
60c34b61ed
1 измененных файлов с 0 добавлено и 4 удалено
  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 || [],