You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
289 B
13 lines
289 B
4 years ago
|
import { connect } from 'react-redux';
|
||
|
import TokenList from './token-list.component';
|
||
7 years ago
|
|
||
|
const mapStateToProps = ({ metamask }) => {
|
||
3 years ago
|
const { tokens, useTokenDetection } = metamask;
|
||
7 years ago
|
return {
|
||
|
tokens,
|
||
3 years ago
|
useTokenDetection,
|
||
4 years ago
|
};
|
||
|
};
|
||
7 years ago
|
|
||
4 years ago
|
export default connect(mapStateToProps)(TokenList);
|