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 = {
|
static propTypes = {
|
||||||
selectedAddress: PropTypes.string,
|
selectedAddress: PropTypes.string,
|
||||||
selectedIdentity: PropTypes.object,
|
selectedIdentity: PropTypes.object,
|
||||||
network: PropTypes.string,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
const { t } = this.context
|
const { t } = this.context
|
||||||
const { selectedAddress, selectedIdentity, network } = this.props
|
const { selectedAddress, selectedIdentity } = this.props
|
||||||
const checksummedAddress = checksumAddress(selectedAddress, network)
|
const checksummedAddress = checksumAddress(selectedAddress)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="selected-account">
|
<div className="selected-account">
|
||||||
|
@ -7,7 +7,6 @@ const mapStateToProps = (state) => {
|
|||||||
return {
|
return {
|
||||||
selectedAddress: getSelectedAddress(state),
|
selectedAddress: getSelectedAddress(state),
|
||||||
selectedIdentity: getSelectedIdentity(state),
|
selectedIdentity: getSelectedIdentity(state),
|
||||||
network: state.metamask.network,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user