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

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 {