update to correct grab handleHttpError from props instead of state

This commit is contained in:
John Mitchell 2019-04-12 14:35:18 -04:00
parent 83e6255ba4
commit b9e0b2e0ad
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -173,8 +173,8 @@ class OrganizationsList extends Component {
}
async handleOrgDelete (event) {
const { orgsToDelete, handleHttpError } = this.state;
const { api } = this.props;
const { orgsToDelete } = this.state;
const { api, handleHttpError } = this.props;
let errorHandled;
try {