mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove unused 2nd argument to checksumAddress (#8282)
This commit is contained in:
parent
12536aa47f
commit
e32417d51f
@ -17,13 +17,12 @@ class SelectedAccount extends Component {
|
||||
static propTypes = {
|
||||
selectedAddress: PropTypes.string,
|
||||
selectedIdentity: PropTypes.object,
|
||||
network: PropTypes.string,
|
||||
}
|
||||
|
||||
render () {
|
||||
const { t } = this.context
|
||||
const { selectedAddress, selectedIdentity, network } = this.props
|
||||
const checksummedAddress = checksumAddress(selectedAddress, network)
|
||||
const { selectedAddress, selectedIdentity } = this.props
|
||||
const checksummedAddress = checksumAddress(selectedAddress)
|
||||
|
||||
return (
|
||||
<div className="selected-account">
|
||||
|
@ -7,7 +7,6 @@ const mapStateToProps = (state) => {
|
||||
return {
|
||||
selectedAddress: getSelectedAddress(state),
|
||||
selectedIdentity: getSelectedIdentity(state),
|
||||
network: state.metamask.network,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user