1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix backButtonAction proptype (#7578)

* Fix backButtonAction proptype

* Fix missing trailing comma

* Remove no-op
This commit is contained in:
ricky 2019-11-26 17:44:33 -05:00 committed by GitHub
parent cd9ef4ced4
commit 4a59fb432f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}