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