Rename onDropIndexClick in objects to onDropPropertyClick

This commit is contained in:
Ethan Glasser-Camp
2019-01-10 10:41:30 -05:00
parent 23644059fb
commit 4ec38908d3
2 changed files with 6 additions and 6 deletions

View File

@@ -109,7 +109,7 @@ class ObjectField extends Component {
};
};
onDropIndexClick = key => {
onDropPropertyClick = key => {
return event => {
event.preventDefault();
const { onChange, formData } = this.props;
@@ -250,7 +250,7 @@ class ObjectField extends Component {
registry={registry}
disabled={disabled}
readonly={readonly}
onDropIndexClick={this.onDropIndexClick}
onDropPropertyClick={this.onDropPropertyClick}
/>
),
name,