mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
13 lines
275 B
JavaScript
13 lines
275 B
JavaScript
|
import { connect } from 'react-redux'
|
||
|
import UniqueImage from './unique-image.component'
|
||
|
|
||
|
const mapStateToProps = ({ metamask }) => {
|
||
|
const { selectedAddress } = metamask
|
||
|
|
||
|
return {
|
||
|
address: selectedAddress,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default connect(mapStateToProps)(UniqueImage)
|