mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 03:20:23 +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)
|