mirror of
https://github.com/wassname/talk.git
synced 2026-07-21 12:51:03 +08:00
Update
This commit is contained in:
@@ -15,9 +15,9 @@ class Dropdown extends React.Component {
|
||||
};
|
||||
}
|
||||
|
||||
setValue = (value, label) => {
|
||||
setValue = (value) => {
|
||||
if (this.props.onChange) {
|
||||
this.props.onChange(value, label);
|
||||
this.props.onChange(value);
|
||||
}
|
||||
|
||||
this.setState({
|
||||
|
||||
Reference in New Issue
Block a user