mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-18 15:33:21 +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)
|