Fix backButtonAction proptype (#7578)

* Fix backButtonAction proptype

* Fix missing trailing comma

* Remove no-op
feature/default_network_editable
ricky 5 years ago committed by GitHub
parent cd9ef4ced4
commit 4a59fb432f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui/app/components/app/modals/account-modal-container/account-modal-container.component.js

@ -40,12 +40,13 @@ AccountModalContainer.contextTypes = {
AccountModalContainer.defaultProps = {
showBackButton: false,
children: null,
backButtonAction: undefined,
}
AccountModalContainer.propTypes = {
selectedIdentity: PropTypes.object.isRequired,
showBackButton: PropTypes.bool,
backButtonAction: PropTypes.func.isRequired,
backButtonAction: PropTypes.func,
hideModal: PropTypes.func.isRequired,
children: PropTypes.node,
}

Loading…
Cancel
Save