From 60c34b61ed5fe58bec5f9fe7ed48b4dc8619d97e Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 13 Nov 2017 17:09:58 +0800 Subject: [PATCH] remove default value of defaultValue --- src/components/TagSelect/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/TagSelect/index.js b/src/components/TagSelect/index.js index 3fd05c7f..1c892965 100644 --- a/src/components/TagSelect/index.js +++ b/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 || [], -- GitLab