mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-01-10 10:56:09 +00:00
10 lines
345 B
JavaScript
10 lines
345 B
JavaScript
import { connect } from 'react-redux';
|
|
import TokenPermissions from './TokenPermission';
|
|
import { getCurrentAccount, accountsIsLoading } from '../../reducers/accounts';
|
|
|
|
const mapStateToProps = state => ({
|
|
account: getCurrentAccount(state),
|
|
isLoading: accountsIsLoading(state),
|
|
});
|
|
export default connect(mapStateToProps)(TokenPermissions);
|