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:
parent
cd9ef4ced4
commit
4a59fb432f
@ -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…
x
Reference in New Issue
Block a user